Update app.py
Browse files
app.py
CHANGED
|
@@ -749,10 +749,7 @@ with gr.Blocks(title="Dashboard SLA") as demo:
|
|
| 749 |
btn_fact = gr.Button("β¬ CSV β Dados Calculados", variant="secondary", elem_classes=["btn-export"])
|
| 750 |
file_fact = gr.File(label="", show_label=False)
|
| 751 |
|
| 752 |
-
|
| 753 |
-
gr.Markdown("**Modelo Power BI** β Excel com 6 sheets (Fact + Dims + Pivots)")
|
| 754 |
-
btn_excel = gr.Button("β¬ Excel β Power BI", variant="primary", elem_classes=["btn-export"])
|
| 755 |
-
file_excel = gr.File(label="", show_label=False)
|
| 756 |
|
| 757 |
# ββ Legenda ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 758 |
gr.HTML("""
|
|
@@ -782,7 +779,7 @@ with gr.Blocks(title="Dashboard SLA") as demo:
|
|
| 782 |
demo.load(fn=lambda: atualizar_vista('EM CURSO'), outputs=[tabela_out, kpi_out])
|
| 783 |
btn_pivot.click(fn=exportar_csv_pivot, inputs=cat_selector, outputs=file_pivot)
|
| 784 |
btn_fact.click(fn=exportar_csv_fact, inputs=cat_selector, outputs=file_fact)
|
| 785 |
-
|
| 786 |
|
| 787 |
if __name__ == '__main__':
|
| 788 |
demo.launch(
|
|
|
|
| 749 |
btn_fact = gr.Button("β¬ CSV β Dados Calculados", variant="secondary", elem_classes=["btn-export"])
|
| 750 |
file_fact = gr.File(label="", show_label=False)
|
| 751 |
|
| 752 |
+
|
|
|
|
|
|
|
|
|
|
| 753 |
|
| 754 |
# ββ Legenda ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 755 |
gr.HTML("""
|
|
|
|
| 779 |
demo.load(fn=lambda: atualizar_vista('EM CURSO'), outputs=[tabela_out, kpi_out])
|
| 780 |
btn_pivot.click(fn=exportar_csv_pivot, inputs=cat_selector, outputs=file_pivot)
|
| 781 |
btn_fact.click(fn=exportar_csv_fact, inputs=cat_selector, outputs=file_fact)
|
| 782 |
+
|
| 783 |
|
| 784 |
if __name__ == '__main__':
|
| 785 |
demo.launch(
|