Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -457,6 +457,14 @@ with gr.Blocks() as demo:
|
|
457 |
|
458 |
with gr.Row():
|
459 |
with gr.Column():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
460 |
# Gallery component for multiple image upload
|
461 |
gallery_component = gr.Gallery(
|
462 |
label="upload 1 or more images",
|
@@ -470,13 +478,6 @@ with gr.Blocks() as demo:
|
|
470 |
allow_preview=True
|
471 |
)
|
472 |
|
473 |
-
# Radio button for mode selection with updated names
|
474 |
-
mode_radio = gr.Radio(
|
475 |
-
choices=["reference", "first - last frame", "random transitions"],
|
476 |
-
value="reference",
|
477 |
-
label="Control Mode",
|
478 |
-
info="Reference: upload reference images to take elements from | First - Last Frame: upload 1st and last frames| Random Transitions: upload images to be used as frame anchors"
|
479 |
-
)
|
480 |
|
481 |
# Background removal checkbox moved here - right beneath control modes
|
482 |
remove_bg_checkbox = gr.Checkbox(
|
|
|
457 |
|
458 |
with gr.Row():
|
459 |
with gr.Column():
|
460 |
+
|
461 |
+
# Radio button for mode selection with updated names
|
462 |
+
mode_radio = gr.Radio(
|
463 |
+
choices=["reference", "first - last frame", "random transitions"],
|
464 |
+
value="reference",
|
465 |
+
label="Control Mode",
|
466 |
+
info="Reference: upload reference images to take elements from | First - Last Frame: upload 1st and last frames| Random Transitions: upload images to be used as frame anchors"
|
467 |
+
)
|
468 |
# Gallery component for multiple image upload
|
469 |
gallery_component = gr.Gallery(
|
470 |
label="upload 1 or more images",
|
|
|
478 |
allow_preview=True
|
479 |
)
|
480 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
481 |
|
482 |
# Background removal checkbox moved here - right beneath control modes
|
483 |
remove_bg_checkbox = gr.Checkbox(
|