Spaces:
Sleeping
Sleeping
lichorosario
commited on
Commit
·
1c32ab0
1
Parent(s):
e03982e
feat: Update ImageSlider in app.py to disable download button
Browse filesThe ImageSlider in app.py has been updated to disable the download button. This change enables image upscaling with fixed values.
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)
|