Spaces:
Runtime error
Runtime error
refactor: change name image size
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue=gr.themes.colors.blue)) as demo:
|
|
12 |
with gr.Column():
|
13 |
image_input = gr.Image(label="Input Image", interactive=True, sources="upload", type="pil")
|
14 |
with gr.Row():
|
15 |
-
new_width = gr.Textbox(label="
|
16 |
-
new_height = gr.Textbox(label="
|
17 |
image_output = gr.Image(label="Ouptut", interactive=False, show_download_button = True)
|
18 |
|
19 |
|
|
|
12 |
with gr.Column():
|
13 |
image_input = gr.Image(label="Input Image", interactive=True, sources="upload", type="pil")
|
14 |
with gr.Row():
|
15 |
+
new_width = gr.Textbox(label="New width", value="1024", type="text", interactive=True)
|
16 |
+
new_height = gr.Textbox(label="New height", value="1024", type="text", interactive=True)
|
17 |
image_output = gr.Image(label="Ouptut", interactive=False, show_download_button = True)
|
18 |
|
19 |
|