congdc commited on
Commit
2f1359d
·
1 Parent(s): 8804f1a

refactor: change name image size

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="Width", value="1024", type="text", interactive=True)
16
- new_height = gr.Textbox(label="Height", value="1024", type="text", interactive=True)
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