Spaces:
Running
Running
Update app.py
Browse files
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="
|
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"),
|