Clean up cancelled generators (#124)

* fix links

* fix upload

* add code

* Add code

---------

Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
This commit is contained in:
Freddy Boulton
2025-03-04 18:08:10 -05:00
committed by GitHub
parent 6ea54777af
commit 6517a93472
7 changed files with 59 additions and 16 deletions

View File

@@ -95,7 +95,7 @@ def upload_space(dir_path: str):
readme_path = path / "README.md"
if path.name not in NO_GRADIO_SPACE:
if path.name not in NO_GRADIO_SPACE and (path / "README_gradio.md").exists():
try:
# Upload Gradio version with modified README
api.upload_folder(