Spaces:
Runtime error
Runtime error
Update app.py
Browse filesrevert removing image resize
app.py
CHANGED
@@ -280,7 +280,7 @@ def build_demo(embed_mode):
|
|
280 |
with gr.Column(scale=3):
|
281 |
imagebox = gr.Image(type="pil")
|
282 |
image_process_mode = gr.Radio(
|
283 |
-
["Default"],
|
284 |
value="Default",
|
285 |
label="Preprocess for non-square image", visible=False)
|
286 |
|
|
|
280 |
with gr.Column(scale=3):
|
281 |
imagebox = gr.Image(type="pil")
|
282 |
image_process_mode = gr.Radio(
|
283 |
+
["Crop", "Resize", "Pad", "Default"],
|
284 |
value="Default",
|
285 |
label="Preprocess for non-square image", visible=False)
|
286 |
|