Skip to content

Commit

Permalink
Final touches main (#6174)
Browse files Browse the repository at this point in the history
* remove pinned version

* Remove pins

* add changeset

---------

Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
  • Loading branch information
3 people authored and dawoodkhan82 committed Oct 31, 2023
1 parent 3d2abe0 commit 76a06bd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .changeset/stale-buttons-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"gradio": minor
"website": minor
---

feat:Final touches main
2 changes: 1 addition & 1 deletion gradio/cli/commands/components/files/pyproject_.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ keywords = [
"<<template>>"
]
# Add dependencies here
dependencies = ["gradio"]
dependencies = ["gradio>=4.0,<5.0"]
classifiers = [
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
Expand Down
6 changes: 1 addition & 5 deletions gradio/cli/commands/components/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,7 @@ def _publish(
assert demo_dir
if not (demo_dir / "app.py").exists():
raise FileNotFoundError("app.py not found in demo directory.")
additional_reqs = [
"https://gradio-builds.s3.amazonaws.com/4.0/attempt-05/gradio-4.0.0-py3-none-any.whl",
"https://gradio-builds.s3.amazonaws.com/4.0/attempt-05/gradio_client-0.7.0b0-py3-none-any.whl",
wheel_file.name,
]
additional_reqs = [wheel_file.name]
if (demo_dir / "requirements.txt").exists():
reqs = (demo_dir / "requirements.txt").read_text().splitlines()
reqs += additional_reqs
Expand Down
2 changes: 1 addition & 1 deletion js/_website/generate_jsons/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def make_dir(root, path):

def get_latest_release():
with open(make_dir(GRADIO_DIR, "package.json")) as f:
version = "3.50.2"
version = json.load(f)["version"]
with open(make_dir(WEBSITE_DIR, "src/lib/json/version.json"), "w+") as j:
json.dump({
"version": version
Expand Down

0 comments on commit 76a06bd

Please sign in to comment.