tomaseo2022 commited on
Commit
11a9b68
1 Parent(s): 6793ee4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -13,8 +13,14 @@ iface = gr.Interface(
13
  sepia,
14
  gr.components.Image(), "image",
15
  css=".footer{display:none !important}",
16
- button_labels=["Limpiar", "Convertir a sepia"]
17
  )
 
 
 
 
 
 
 
18
  iface.launch()
19
 
20
 
 
13
  sepia,
14
  gr.components.Image(), "image",
15
  css=".footer{display:none !important}",
 
16
  )
17
+
18
+ # Botón para limpiar la imagen
19
+ clear_button = gr.Button("Limpiar", click=clear_image)
20
+
21
+ # Botón para convertir a sepia
22
+ convert_button = gr.Button("Convertir a sepia", click=iface.process)
23
+
24
  iface.launch()
25
 
26