tu11p commited on
Commit
0c96891
1 Parent(s): b63e59c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -114,7 +114,7 @@ with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
114
  "city_7.jpg", "city_8.jpg",
115
  ]
116
  input_gallery = gr.Gallery(label="Select Image", value=cities, columns=4)
117
- input_image = gr.Image(label="Uploaded Image", interactive=True, type="pil")
118
  input_gallery.change(fn=lambda x: x, inputs=input_gallery, outputs=input_image)
119
  process_button = gr.Button("Process Image")
120
  with gr.Column(scale=2):
 
114
  "city_7.jpg", "city_8.jpg",
115
  ]
116
  input_gallery = gr.Gallery(label="Select Image", value=cities, columns=4)
117
+ input_image = gr.Image(label="Uploaded Image", interactive=True, type="numpy")
118
  input_gallery.change(fn=lambda x: x, inputs=input_gallery, outputs=input_image)
119
  process_button = gr.Button("Process Image")
120
  with gr.Column(scale=2):