Spaces:
Running
Running
Update ups.py
Browse files
ups.py
CHANGED
|
@@ -288,7 +288,7 @@ def update_url_display(image_path, manual_url):
|
|
| 288 |
space_url = "https://mysafecode-byteplus-seedance.hf.space"
|
| 289 |
return f"{space_url}/gradio_api/file={image_path}" # <--- NOW CORRECT
|
| 290 |
else:
|
| 291 |
-
return "
|
| 292 |
|
| 293 |
# Create the interface
|
| 294 |
with gr.Blocks(title="BytePlus Video Generator", theme=gr.themes.Soft()) as demo:
|
|
|
|
| 288 |
space_url = "https://mysafecode-byteplus-seedance.hf.space"
|
| 289 |
return f"{space_url}/gradio_api/file={image_path}" # <--- NOW CORRECT
|
| 290 |
else:
|
| 291 |
+
return "https://huggingface.co/spaces/MySafeCode/BytePlus_Seedance/resolve/main/1hit.png"
|
| 292 |
|
| 293 |
# Create the interface
|
| 294 |
with gr.Blocks(title="BytePlus Video Generator", theme=gr.themes.Soft()) as demo:
|