Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
|
@@ -38,6 +38,6 @@ def chequear_fecha(anios, meses, dias, imprimirdias):
|
|
| 38 |
return salida_dias[1:], salida_sumaynota
|
| 39 |
|
| 40 |
#UI
|
| 41 |
-
iface = gr.Interface(fn=chequear_fecha, inputs=["
|
| 42 |
-
#label="Mostrar últimos días (cero muestra todo):", minimum=0, maximum=3000000, value=1
|
| 43 |
iface.launch()
|
|
|
|
| 38 |
return salida_dias[1:], salida_sumaynota
|
| 39 |
|
| 40 |
#UI
|
| 41 |
+
iface = gr.Interface(fn=chequear_fecha, inputs=[gr.Textbox(label="Años:"), gr.Textbox(label="Meses:"), "text", gr.Slider(label="Mostrar últimos días (cero muestra todo):", minimum=0, maximum=3000000, value=1, step=10)], outputs=[gr.Textbox(label="Resultados"), gr.Textbox(label="Nota:")])
|
| 42 |
+
#label="Mostrar últimos días (cero muestra todo):", minimum=0, maximum=3000000, value=1, step=10
|
| 43 |
iface.launch()
|