MySafeCode commited on
Commit
d11149c
·
verified ·
1 Parent(s): dbb8727

Update ups.py

Browse files
Files changed (1) hide show
  1. ups.py +1 -1
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 "No image selected"
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: