Xuanyou commited on
Commit
3e09a98
·
verified ·
1 Parent(s): e4bc1db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -695,7 +695,7 @@ Discover your spirit animal and let your imagination run wild!
695
  ---
696
  """
697
 
698
- with gr.Blocks() as demo:
699
  gr.HTML(title_html)
700
  gr.Markdown(description_text)
701
 
@@ -731,10 +731,11 @@ with gr.Blocks() as demo:
731
  video_input = gr.Video(label="Upload a driving video (MP4 format)")
732
  generate_video_button = gr.Button("Generate Video")
733
  gr.Examples(
734
- examples=["video1.mp4", "video2.mp4", "video3.mp4", "video4.mp4"],
735
- inputs=image_input,
736
- label="Example Images"
737
  )
 
738
  with gr.Column(scale=1):
739
  video_output = gr.Video(label="Generated Spirit Animal Video")
740
 
 
695
  ---
696
  """
697
 
698
+ with gr.Blocks(css=css) as demo:
699
  gr.HTML(title_html)
700
  gr.Markdown(description_text)
701
 
 
731
  video_input = gr.Video(label="Upload a driving video (MP4 format)")
732
  generate_video_button = gr.Button("Generate Video")
733
  gr.Examples(
734
+ examples=["video1.mp4", "video2.mp4", "video3.mp4", "video4.mp4"],
735
+ inputs=video_input,
736
+ label="Example Videos"
737
  )
738
+
739
  with gr.Column(scale=1):
740
  video_output = gr.Video(label="Generated Spirit Animal Video")
741