Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def convert_image(image, target_format):
|
|
29 |
interface = gr.Interface(
|
30 |
fn=convert_image,
|
31 |
inputs=[
|
32 |
-
gr.Image(label="Upload Image", type="filepath"
|
33 |
gr.Dropdown(label="Select Target Format", choices=supported_formats)
|
34 |
],
|
35 |
outputs=gr.File(label="Converted Image"),
|
|
|
29 |
interface = gr.Interface(
|
30 |
fn=convert_image,
|
31 |
inputs=[
|
32 |
+
gr.Image(label="Upload Image", type="filepath"), # Atur tinggi gambar input
|
33 |
gr.Dropdown(label="Select Target Format", choices=supported_formats)
|
34 |
],
|
35 |
outputs=gr.File(label="Converted Image"),
|