Spaces:
Runtime error
Runtime error
Update app.py
Browse filesremove image resize during pre-process
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 |
-
[
|
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 |
+
[],
|
284 |
value="Default",
|
285 |
label="Preprocess for non-square image", visible=False)
|
286 |
|