lichorosario commited on
Commit
1c32ab0
·
1 Parent(s): e03982e

feat: Update ImageSlider in app.py to disable download button

Browse files

The ImageSlider in app.py has been updated to disable the download button. This change enables image upscaling with fixed values.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -182,7 +182,7 @@ with gr.Blocks(css=css) as demo:
182
  cancel_btn = gr.Button("Cancel")
183
  with gr.Row():
184
  image_out = gr.Image(label="Image output")
185
- image_upscaled = ImageSlider(label="Before / After", type="numpy")
186
  scale_btn = gr.Button("Upscale")
187
 
188
  selected_index = gr.State(None)
 
182
  cancel_btn = gr.Button("Cancel")
183
  with gr.Row():
184
  image_out = gr.Image(label="Image output")
185
+ image_upscaled = ImageSlider(label="Before / After", type="numpy", show_download_button=False)
186
  scale_btn = gr.Button("Upscale")
187
 
188
  selected_index = gr.State(None)