LouisLi commited on
Commit
92a6b24
·
verified ·
1 Parent(s): 6e6d193

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -8
app.py CHANGED
@@ -1357,7 +1357,7 @@ def create_ui():
1357
  ###############################################################################
1358
 
1359
  with gr.Row(variant="panel") as text2video_model:
1360
- with gr.Group():
1361
  with gr.Row():
1362
  prompt = gr.Textbox(
1363
  label='Prompt'
@@ -1405,13 +1405,15 @@ def create_ui():
1405
  scale=1,
1406
  variant='primary'
1407
  )
1408
- video = gr.Video(
1409
- label='AnimateDiff-Lightning',
1410
- autoplay=True,
1411
- height=512,
1412
- width=512,
1413
- elem_id="video_output"
1414
- )
 
 
1415
 
1416
  prompt.submit(
1417
  fn=generate_image,
 
1357
  ###############################################################################
1358
 
1359
  with gr.Row(variant="panel") as text2video_model:
1360
+ with gr.Column():
1361
  with gr.Row():
1362
  prompt = gr.Textbox(
1363
  label='Prompt'
 
1405
  scale=1,
1406
  variant='primary'
1407
  )
1408
+ with gr.Column():
1409
+ with gr.Row():
1410
+ video = gr.Video(
1411
+ label='AnimateDiff-Lightning',
1412
+ autoplay=True,
1413
+ height=512,
1414
+ width=512,
1415
+ elem_id="video_output"
1416
+ )
1417
 
1418
  prompt.submit(
1419
  fn=generate_image,