tomaseo2022 commited on
Commit
5c0419e
1 Parent(s): 82c4d4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -11,16 +11,16 @@ def sepia(input_img):
11
 
12
  iface = gr.Interface(
13
  sepia,
14
- gr.inputs.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.inputs.Image(label="Imagen de entrada")
21
  ],
22
  outputs=[
23
- gr.outputs.Image(label="Imagen sepia")
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
+