EXCAI commited on
Commit
8327116
·
verified ·
1 Parent(s): 8b80e7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -497,9 +497,9 @@ with gr.Blocks(title="Diffusion as Shader") as demo:
497
 
498
  with left_column:
499
  gr.Markdown("### 1. Upload Source")
500
- gr.Markdown("Upload a video or image, We will extract the motion and space structure from it")
501
  source_preview = gr.Video(label="Source Preview")
502
- source_upload = gr.UploadButton("Upload Source", file_types=["image", "video"])
503
 
504
  def update_source_preview(file):
505
  if file is None:
 
497
 
498
  with left_column:
499
  gr.Markdown("### 1. Upload Source")
500
+ gr.Markdown("Upload a video, We will extract the motion from it")
501
  source_preview = gr.Video(label="Source Preview")
502
+ source_upload = gr.UploadButton("Upload Source", file_types=["video"])
503
 
504
  def update_source_preview(file):
505
  if file is None: