Spaces:
Runtime error
Runtime error
tomaseo2022
commited on
Commit
•
5c0419e
1
Parent(s):
82c4d4c
Update app.py
Browse files
app.py
CHANGED
@@ -11,16 +11,16 @@ def sepia(input_img):
|
|
11 |
|
12 |
iface = gr.Interface(
|
13 |
sepia,
|
14 |
-
gr.
|
15 |
"image",
|
16 |
title="Convertidor de imagen a sepia",
|
17 |
description="Sube una imagen y conviértela a sepia.",
|
18 |
css=".footer{display:none !important}",
|
19 |
inputs=[
|
20 |
-
gr.
|
21 |
],
|
22 |
outputs=[
|
23 |
-
gr.
|
24 |
],
|
25 |
examples=[
|
26 |
["https://live.staticflickr.com/65535/51275594794_b6163c1ea6_z.jpg"]
|
@@ -31,3 +31,4 @@ iface = gr.Interface(
|
|
31 |
iface.launch()
|
32 |
|
33 |
|
|
|
|
11 |
|
12 |
iface = gr.Interface(
|
13 |
sepia,
|
14 |
+
gr.components.Image(),
|
15 |
"image",
|
16 |
title="Convertidor de imagen a sepia",
|
17 |
description="Sube una imagen y conviértela a sepia.",
|
18 |
css=".footer{display:none !important}",
|
19 |
inputs=[
|
20 |
+
gr.components.Image(label="Imagen de entrada")
|
21 |
],
|
22 |
outputs=[
|
23 |
+
gr.components.Image(label="Imagen sepia")
|
24 |
],
|
25 |
examples=[
|
26 |
["https://live.staticflickr.com/65535/51275594794_b6163c1ea6_z.jpg"]
|
|
|
31 |
iface.launch()
|
32 |
|
33 |
|
34 |
+
|