Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -303,6 +303,21 @@ with gr.Blocks(theme="Yntec/HaleyCH_Theme_Orange", css=css) as demo:
|
|
| 303 |
with gr.Group(elem_classes="main-panel"):
|
| 304 |
gr.Markdown("### Generated Results")
|
| 305 |
with gr.Row():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 306 |
with gr.Column():
|
| 307 |
post_generation_image = gr.Image(
|
| 308 |
label=english_labels["Generated Images"],
|
|
@@ -318,21 +333,6 @@ with gr.Blocks(theme="Yntec/HaleyCH_Theme_Orange", css=css) as demo:
|
|
| 318 |
label=english_labels["From 1st to 2nd direction"]
|
| 319 |
)
|
| 320 |
|
| 321 |
-
with gr.Row():
|
| 322 |
-
with gr.Column(scale=3):
|
| 323 |
-
image_seq = gr.Image(
|
| 324 |
-
label=english_labels["Strip"],
|
| 325 |
-
elem_id="strip",
|
| 326 |
-
height=100
|
| 327 |
-
)
|
| 328 |
-
with gr.Column(scale=2):
|
| 329 |
-
output_image = gr.Video(
|
| 330 |
-
label=english_labels["Looping video"],
|
| 331 |
-
elem_id="video",
|
| 332 |
-
loop=True,
|
| 333 |
-
autoplay=True,
|
| 334 |
-
height=100
|
| 335 |
-
)
|
| 336 |
|
| 337 |
# Examples Section
|
| 338 |
gr.Examples(
|
|
|
|
| 303 |
with gr.Group(elem_classes="main-panel"):
|
| 304 |
gr.Markdown("### Generated Results")
|
| 305 |
with gr.Row():
|
| 306 |
+
with gr.Column(scale=3):
|
| 307 |
+
image_seq = gr.Image(
|
| 308 |
+
label=english_labels["Strip"],
|
| 309 |
+
elem_id="strip",
|
| 310 |
+
height=100
|
| 311 |
+
)
|
| 312 |
+
with gr.Column(scale=2):
|
| 313 |
+
output_image = gr.Video(
|
| 314 |
+
label=english_labels["Looping video"],
|
| 315 |
+
elem_id="video",
|
| 316 |
+
loop=True,
|
| 317 |
+
autoplay=True,
|
| 318 |
+
height=100
|
| 319 |
+
)
|
| 320 |
+
with gr.Row(): # Moved this block to be after the video
|
| 321 |
with gr.Column():
|
| 322 |
post_generation_image = gr.Image(
|
| 323 |
label=english_labels["Generated Images"],
|
|
|
|
| 333 |
label=english_labels["From 1st to 2nd direction"]
|
| 334 |
)
|
| 335 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 336 |
|
| 337 |
# Examples Section
|
| 338 |
gr.Examples(
|