Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -325,6 +325,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
| 325 |
with gr.Row():
|
| 326 |
resize_option = gr.Radio(
|
| 327 |
label="Resize input image",
|
|
|
|
| 328 |
choices=["Full", "50%", "33%", "25%", "Custom"],
|
| 329 |
value="Full"
|
| 330 |
)
|
|
@@ -341,7 +342,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
| 341 |
examples=[
|
| 342 |
["./examples/4.jpg", 1024, 1024, "Middle"],
|
| 343 |
["./examples/1.png", 1280, 720, "Middle"],
|
| 344 |
-
["./examples/2.png",
|
| 345 |
["./examples/3.jpg", 1024, 1024, "Top"],
|
| 346 |
["./examples/5.jpg", 1024, 1024, "Bottom"],
|
| 347 |
],
|
|
|
|
| 325 |
with gr.Row():
|
| 326 |
resize_option = gr.Radio(
|
| 327 |
label="Resize input image",
|
| 328 |
+
#choices=["Full", "50%", "33%", "25%", "Custom"],
|
| 329 |
choices=["Full", "50%", "33%", "25%", "Custom"],
|
| 330 |
value="Full"
|
| 331 |
)
|
|
|
|
| 342 |
examples=[
|
| 343 |
["./examples/4.jpg", 1024, 1024, "Middle"],
|
| 344 |
["./examples/1.png", 1280, 720, "Middle"],
|
| 345 |
+
["./examples/2.png", 720, 1280, "Left"],
|
| 346 |
["./examples/3.jpg", 1024, 1024, "Top"],
|
| 347 |
["./examples/5.jpg", 1024, 1024, "Bottom"],
|
| 348 |
],
|