Adityadn commited on
Commit
fc43dc6
·
verified ·
1 Parent(s): 78f5ef9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def convert_image(image, target_format):
23
  interface = gr.Interface(
24
  fn=convert_image,
25
  inputs=[
26
- gr.Image(label="Upload Image", type="file"),
27
  gr.Dropdown(label="Select Target Format", choices=supported_formats)
28
  ],
29
  outputs=gr.File(label="Converted Image"),
 
23
  interface = gr.Interface(
24
  fn=convert_image,
25
  inputs=[
26
+ gr.Image(label="Upload Image", type="filepath"),
27
  gr.Dropdown(label="Select Target Format", choices=supported_formats)
28
  ],
29
  outputs=gr.File(label="Converted Image"),