Adityadn commited on
Commit
f374dbc
·
verified ·
1 Parent(s): 2cf300e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -29,13 +29,12 @@ def convert_image(image, target_format):
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"),
36
  title="Universal Image Format Converter",
37
  description="Upload an image and select any target format for conversion. Supports all formats recognized by Pillow.",
38
- live=True,
39
  css="footer {visibility: hidden}"
40
  )
41
 
 
29
  interface = gr.Interface(
30
  fn=convert_image,
31
  inputs=[
32
+ gr.Image(label="Upload Image", type="filepath", height=512), # Atur tinggi gambar input
33
  gr.Dropdown(label="Select Target Format", choices=supported_formats)
34
  ],
35
  outputs=gr.File(label="Converted Image"),
36
  title="Universal Image Format Converter",
37
  description="Upload an image and select any target format for conversion. Supports all formats recognized by Pillow.",
 
38
  css="footer {visibility: hidden}"
39
  )
40