Update app.py
Browse files
app.py
CHANGED
|
@@ -64,4 +64,8 @@ with gr.Blocks(theme="default") as demo:
|
|
| 64 |
with gr.Column():
|
| 65 |
resultado = gr.HTML(label="Resultado")
|
| 66 |
|
| 67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
with gr.Column():
|
| 65 |
resultado = gr.HTML(label="Resultado")
|
| 66 |
|
| 67 |
+
# ⬅ Aquí están los paréntesis cerrados correctamente
|
| 68 |
+
boton_analizar.click(fn=predecir, inputs=rx_input, outputs=resultado)
|
| 69 |
+
boton_limpiar.click(lambda: (None, None), inputs=[], outputs=[rx_input, resultado])
|
| 70 |
+
|
| 71 |
+
demo.launch()
|