multimodalart HF staff commited on
Commit
d960343
1 Parent(s): a9235bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -297,10 +297,10 @@ with gr.Blocks() as demo:
297
  Generate 25 frames of video from a single image using SDV-XT.
298
  ''')
299
  with gr.Column():
300
- image = gr.Image(label="Upload your image (it will be center cropped to 1024x576)", type="filepath")
 
 
301
  generate_btn = gr.Button("Generate")
302
- with gr.Column():
303
- video = gr.Video()
304
  image.upload(fn=resize_image, inputs=image, outputs=image, queue=False)
305
  generate_btn.click(fn=sample, inputs=image, outputs=video, api_name="video")
306
 
 
297
  Generate 25 frames of video from a single image using SDV-XT.
298
  ''')
299
  with gr.Column():
300
+ with gr.Row():
301
+ image = gr.Image(label="Upload your image (it will be center cropped to 1024x576)", type="filepath")
302
+ video = gr.Video()
303
  generate_btn = gr.Button("Generate")
 
 
304
  image.upload(fn=resize_image, inputs=image, outputs=image, queue=False)
305
  generate_btn.click(fn=sample, inputs=image, outputs=video, api_name="video")
306