Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -275,7 +275,7 @@ with gr.Blocks(css=css) as demo:
|
|
275 |
with gr.Row():
|
276 |
target_ratio = gr.Radio(
|
277 |
label="Expected Ratio",
|
278 |
-
choices=["9:16", "16:9", "1:1", "
|
279 |
value="9:16",
|
280 |
scale=2
|
281 |
)
|
@@ -351,10 +351,7 @@ with gr.Blocks(css=css) as demo:
|
|
351 |
|
352 |
|
353 |
with gr.Column():
|
354 |
-
result = ImageSlider(
|
355 |
-
interactive=True,
|
356 |
-
label="Generated Image",
|
357 |
-
)
|
358 |
use_as_input_button = gr.Button("Use as Input Image", visible=False)
|
359 |
|
360 |
history_gallery = gr.Gallery(label="History", columns=6, object_fit="contain", interactive=False)
|
|
|
275 |
with gr.Row():
|
276 |
target_ratio = gr.Radio(
|
277 |
label="Expected Ratio",
|
278 |
+
choices=["9:16", "16:9", "1:1", "Custom"],
|
279 |
value="9:16",
|
280 |
scale=2
|
281 |
)
|
|
|
351 |
|
352 |
|
353 |
with gr.Column():
|
354 |
+
result = ImageSlider(label="Generated Image", type="pil", slider_color="pink")
|
|
|
|
|
|
|
355 |
use_as_input_button = gr.Button("Use as Input Image", visible=False)
|
356 |
|
357 |
history_gallery = gr.Gallery(label="History", columns=6, object_fit="contain", interactive=False)
|