KenjieDec commited on
Commit
3349e70
·
verified ·
1 Parent(s): fc08523

Set output interactive to False

Browse files

You can upload image through the result section, and sometimes the image can't even be downloaded

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -151,7 +151,7 @@ with gr.Blocks() as demo:
151
 
152
  with gr.Row():
153
  input_img = gr.Image(label="Input Image")
154
- output_img = gr.Image(label="Result", interactive=True)
155
 
156
  is_gray = gr.Checkbox(label="Grayscale (Check this if your image is grayscale)")
157
  max_res = gr.Slider(1, 100, step=0.5, label="Output image resolution Percentage (Higher% = longer processing time)")
 
151
 
152
  with gr.Row():
153
  input_img = gr.Image(label="Input Image")
154
+ output_img = gr.Image(label="Result", interactive=False)
155
 
156
  is_gray = gr.Checkbox(label="Grayscale (Check this if your image is grayscale)")
157
  max_res = gr.Slider(1, 100, step=0.5, label="Output image resolution Percentage (Higher% = longer processing time)")