Moibe commited on
Commit
42c9bcd
·
1 Parent(s): 5082067

Toques finales

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -4,9 +4,9 @@ import time
4
 
5
  def compare(input1, input2):
6
 
7
- print("EStoy en def compare...")
8
- time.sleep(5)
9
  return input1, input2
10
 
11
- iface = gr.Interface(fn=compare, inputs=[gr.Image(), gr.Image()], outputs=ImageSlider(position=0.5,label='Colored image with slider-view'))
12
  iface.launch()
 
4
 
5
  def compare(input1, input2):
6
 
7
+ print("Comparing...")
8
+ time.sleep(1)
9
  return input1, input2
10
 
11
+ iface = gr.Interface(fn=compare, inputs=[gr.Image(), gr.Image()], outputs=ImageSlider(position=0.5, label='Comparación de 2 imágenes'))
12
  iface.launch()