Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,7 @@ import MOD_V_AP_Z1_Z2_001
|
|
| 5 |
#import MOD_V_SALA_Z1_002C
|
| 6 |
#import apartamentos
|
| 7 |
#import salas
|
|
|
|
| 8 |
import salas_2025
|
| 9 |
import salas_2024
|
| 10 |
import aptos_2025
|
|
@@ -29,6 +30,12 @@ with bloco:
|
|
| 29 |
text_button = gr.Button("Calcular")
|
| 30 |
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")]
|
| 31 |
text_button.click(MOD_V_SALA_Z1_002D_A.execute, inputs=inputs, outputs=outputs)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
with gr.TabItem(salas_2025.title):
|
| 33 |
gr.Markdown(salas_2025.description)
|
| 34 |
inputs = salas_2025.load_inputs()
|
|
|
|
| 5 |
#import MOD_V_SALA_Z1_002C
|
| 6 |
#import apartamentos
|
| 7 |
#import salas
|
| 8 |
+
import salas_2026
|
| 9 |
import salas_2025
|
| 10 |
import salas_2024
|
| 11 |
import aptos_2025
|
|
|
|
| 30 |
text_button = gr.Button("Calcular")
|
| 31 |
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")]
|
| 32 |
text_button.click(MOD_V_SALA_Z1_002D_A.execute, inputs=inputs, outputs=outputs)
|
| 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.execute, inputs=inputs, outputs=outputs)
|
| 39 |
with gr.TabItem(salas_2025.title):
|
| 40 |
gr.Markdown(salas_2025.description)
|
| 41 |
inputs = salas_2025.load_inputs()
|