Upload folder using huggingface_hub
Browse files
ui.py
CHANGED
|
@@ -422,23 +422,24 @@ def get_gradio_block(
|
|
| 422 |
with gr.Tab(
|
| 423 |
"Report Download", id="my_final_report_container"
|
| 424 |
) as final_report_container:
|
| 425 |
-
|
| 426 |
-
|
| 427 |
-
|
| 428 |
-
|
| 429 |
-
|
| 430 |
-
|
| 431 |
-
|
| 432 |
-
|
| 433 |
-
|
| 434 |
-
|
| 435 |
-
|
| 436 |
-
gr.Column()
|
| 437 |
|
| 438 |
-
with gr.Accordion(
|
|
|
|
|
|
|
| 439 |
reports_output = gr.HTML()
|
| 440 |
|
| 441 |
-
with gr.Accordion("Trends", open=False):
|
| 442 |
trends_output = gr.Code(language="json")
|
| 443 |
|
| 444 |
with gr.Tab(
|
|
|
|
| 422 |
with gr.Tab(
|
| 423 |
"Report Download", id="my_final_report_container"
|
| 424 |
) as final_report_container:
|
| 425 |
+
gr.Markdown("# ✅Your health trends report is ready!")
|
| 426 |
+
with gr.Row(equal_height=False):
|
| 427 |
+
pdf_download = gr.DownloadButton(
|
| 428 |
+
label="Download 📊",
|
| 429 |
+
scale=0,
|
| 430 |
+
)
|
| 431 |
+
# Populate file when button clicked
|
| 432 |
+
upload_more_reports_btn = gr.Button(
|
| 433 |
+
"Upload more", variant="primary", scale=0
|
| 434 |
+
)
|
| 435 |
+
gr.Column()
|
|
|
|
| 436 |
|
| 437 |
+
with gr.Accordion(
|
| 438 |
+
"Standardized Reports", open=False, visible=False
|
| 439 |
+
):
|
| 440 |
reports_output = gr.HTML()
|
| 441 |
|
| 442 |
+
with gr.Accordion("Trends", open=False, visible=False):
|
| 443 |
trends_output = gr.Code(language="json")
|
| 444 |
|
| 445 |
with gr.Tab(
|