diff --git a/.changeset/cyan-suns-judge.md b/.changeset/cyan-suns-judge.md new file mode 100644 index 0000000000..7ab7baffc4 --- /dev/null +++ b/.changeset/cyan-suns-judge.md @@ -0,0 +1,5 @@ +--- +"gradio": patch +--- + +fix:Let Gradio be typed! diff --git a/.gitignore b/.gitignore index 8886c54148..db77142d47 100644 --- a/.gitignore +++ b/.gitignore @@ -13,7 +13,6 @@ build/ __tmp/* *.pyi !gradio/stubs/**/*.pyi -py.typed .ipynb_checkpoints/ .python-version =23.2 diff --git a/gradio/py.typed b/gradio/py.typed new file mode 100644 index 0000000000..e69de29bb2 diff --git a/pyproject.toml b/pyproject.toml index 1aade61c27..296e90bab6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,7 +75,7 @@ artifacts = [ "/gradio/_frontend_code", "*.pyi", "/gradio/node", - "py.typed", + "/gradio/py.typed", ] [tool.hatch.build.targets.lite]