Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1357,7 +1357,7 @@ def create_ui():
|
|
1357 |
###############################################################################
|
1358 |
|
1359 |
with gr.Row(variant="panel") as text2video_model:
|
1360 |
-
with gr.
|
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 |
-
|
1409 |
-
|
1410 |
-
|
1411 |
-
|
1412 |
-
|
1413 |
-
|
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,
|