rishi9440 commited on
Commit
caab2d1
1 Parent(s): 3b06529

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,8 +13,8 @@ def download_image(output_image):
13
  return gradio.Interface.download(img_bytes, "output_image.png")
14
 
15
  # define input and output interfaces
16
- input_image = gr.inputs.Image(type="file", label="Input Image")
17
- output_image = gr.outputs.Image(type="file", label="Output Image")
18
 
19
  # define the download button
20
  download_button = gr.Interface(
 
13
  return gradio.Interface.download(img_bytes, "output_image.png")
14
 
15
  # define input and output interfaces
16
+ input_image = gr.inputs.Image(type="filepath", label="Input Image")
17
+ output_image = gr.inputs.Image(type="filepath", label="Output Image")
18
 
19
  # define the download button
20
  download_button = gr.Interface(