Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -23,11 +23,6 @@ def convert_image(image, target_format):
|
|
23 |
except Exception as e:
|
24 |
return f"Error: {e}"
|
25 |
|
26 |
-
# CSS untuk menyembunyikan footer
|
27 |
-
css = """
|
28 |
-
footer {display: none;}
|
29 |
-
"""
|
30 |
-
|
31 |
# Antarmuka Gradio dengan tema kustom untuk menyembunyikan footer
|
32 |
interface = gr.Interface(
|
33 |
fn=convert_image,
|
@@ -39,7 +34,7 @@ interface = gr.Interface(
|
|
39 |
title="Universal Image Format Converter",
|
40 |
description="Upload an image and select any target format for conversion. Supports all formats recognized by Pillow.",
|
41 |
live=True,
|
42 |
-
css=
|
43 |
)
|
44 |
|
45 |
# Jalankan aplikasi
|
|
|
23 |
except Exception as e:
|
24 |
return f"Error: {e}"
|
25 |
|
|
|
|
|
|
|
|
|
|
|
26 |
# Antarmuka Gradio dengan tema kustom untuk menyembunyikan footer
|
27 |
interface = gr.Interface(
|
28 |
fn=convert_image,
|
|
|
34 |
title="Universal Image Format Converter",
|
35 |
description="Upload an image and select any target format for conversion. Supports all formats recognized by Pillow.",
|
36 |
live=True,
|
37 |
+
css="footer {visibility: hidden}"
|
38 |
)
|
39 |
|
40 |
# Jalankan aplikasi
|