Update app.py
Browse files
app.py
CHANGED
|
@@ -9,6 +9,17 @@ bloco = gr.Blocks()
|
|
| 9 |
|
| 10 |
with bloco:
|
| 11 |
with gr.Tabs():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
# Tab 2025
|
| 13 |
with gr.TabItem(boxes_2025.title):
|
| 14 |
gr.Markdown(boxes_2025.description)
|
|
|
|
| 9 |
|
| 10 |
with bloco:
|
| 11 |
with gr.Tabs():
|
| 12 |
+
# Tab 2026
|
| 13 |
+
with gr.TabItem(boxes_2026.title):
|
| 14 |
+
gr.Markdown(boxes_2026.description)
|
| 15 |
+
inputs_26 = boxes_2026.load_inputs()
|
| 16 |
+
btn_26 = gr.Button("Calcular")
|
| 17 |
+
outputs_26 = [
|
| 18 |
+
gr.Textbox(lines=1, label="Valor do im贸vel (R$/m虏)"),
|
| 19 |
+
gr.File(label="Download Relat贸rio em PDF")
|
| 20 |
+
]
|
| 21 |
+
btn_26.click(boxes_2026.execute, inputs=inputs_26, outputs=outputs_26)
|
| 22 |
+
|
| 23 |
# Tab 2025
|
| 24 |
with gr.TabItem(boxes_2025.title):
|
| 25 |
gr.Markdown(boxes_2025.description)
|