Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,9 +33,9 @@ with bloco:
|
|
| 33 |
with gr.TabItem(salas_2026.title):
|
| 34 |
gr.Markdown(salas_2026.description)
|
| 35 |
inputs = salas_2026.load_inputs()
|
| 36 |
-
text_button = gr.Button("Calcular")
|
| 37 |
outputs = [gr.TextArea(lines=1, label="Valor do imóvel (R$/m²)"), gr.components.File(label="Download Relatório em PDF")]
|
| 38 |
-
text_button.click(salas_2026.
|
| 39 |
with gr.TabItem(salas_2025.title):
|
| 40 |
gr.Markdown(salas_2025.description)
|
| 41 |
inputs = salas_2025.load_inputs()
|
|
|
|
| 33 |
with gr.TabItem(salas_2026.title):
|
| 34 |
gr.Markdown(salas_2026.description)
|
| 35 |
inputs = salas_2026.load_inputs()
|
| 36 |
+
text_button = gr.Button("Calcular", variant="primary")
|
| 37 |
outputs = [gr.TextArea(lines=1, label="Valor do imóvel (R$/m²)"), gr.components.File(label="Download Relatório em PDF")]
|
| 38 |
+
text_button.click(salas_2026.execute_valuation, inputs=inputs, outputs=outputs)
|
| 39 |
with gr.TabItem(salas_2025.title):
|
| 40 |
gr.Markdown(salas_2025.description)
|
| 41 |
inputs = salas_2025.load_inputs()
|