Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,6 +8,7 @@ import MOD_V_AP_Z1_Z2_001
|
|
| 8 |
import salas_2026
|
| 9 |
import salas_2025
|
| 10 |
import salas_2024
|
|
|
|
| 11 |
import aptos_2025
|
| 12 |
import aptos_2024
|
| 13 |
import MOD_V_SALA_Z1_002D_A
|
|
@@ -66,6 +67,12 @@ with bloco:
|
|
| 66 |
text_button = gr.Button("Calcular")
|
| 67 |
outputs = [gr.TextArea(lines=1, label="Valor do imóvel (R$/m²)"), gr.TextArea(lines=1, label="Limite Inferior do Intervalo de Confiança"), gr.TextArea(lines=1, label="Percentual Limite Inferior do IC"), gr.TextArea(lines=1, label="Limite Superior do Intervalo de Confiança"), gr.TextArea(lines=1, label="Percentual Limite Superior do IC"), gr.Image(label="Gráfico"), gr.components.File(label="Download Relatório em PDF")]
|
| 68 |
text_button.click(MOD_V_AP_Z1_Z2_001.execute, inputs=inputs, outputs=outputs)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
with gr.TabItem(aptos_2025.title):
|
| 70 |
gr.Markdown(aptos_2025.description)
|
| 71 |
inputs = aptos_2025.load_inputs()
|
|
|
|
| 8 |
import salas_2026
|
| 9 |
import salas_2025
|
| 10 |
import salas_2024
|
| 11 |
+
import aptos_2026
|
| 12 |
import aptos_2025
|
| 13 |
import aptos_2024
|
| 14 |
import MOD_V_SALA_Z1_002D_A
|
|
|
|
| 67 |
text_button = gr.Button("Calcular")
|
| 68 |
outputs = [gr.TextArea(lines=1, label="Valor do imóvel (R$/m²)"), gr.TextArea(lines=1, label="Limite Inferior do Intervalo de Confiança"), gr.TextArea(lines=1, label="Percentual Limite Inferior do IC"), gr.TextArea(lines=1, label="Limite Superior do Intervalo de Confiança"), gr.TextArea(lines=1, label="Percentual Limite Superior do IC"), gr.Image(label="Gráfico"), gr.components.File(label="Download Relatório em PDF")]
|
| 69 |
text_button.click(MOD_V_AP_Z1_Z2_001.execute, inputs=inputs, outputs=outputs)
|
| 70 |
+
with gr.TabItem(aptos_2026.title):
|
| 71 |
+
gr.Markdown(aptos_2026.description)
|
| 72 |
+
inputs = aptos_2026.load_inputs()
|
| 73 |
+
text_button = gr.Button("Calcular")
|
| 74 |
+
outputs = [gr.TextArea(lines=1, label="Valor do imóvel (R$/m²)"), gr.components.File(label="Download Relatório em PDF")]
|
| 75 |
+
text_button.click(aptos_2026.avaliar_imovel, inputs=inputs, outputs=outputs)
|
| 76 |
with gr.TabItem(aptos_2025.title):
|
| 77 |
gr.Markdown(aptos_2025.description)
|
| 78 |
inputs = aptos_2025.load_inputs()
|