mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-04 17:39:23 +08:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user