Upload folder using huggingface_hub
Browse files
home.py
CHANGED
|
@@ -537,7 +537,8 @@ def build_home_page(
|
|
| 537 |
with gr.Tab("π Trends", id=0):
|
| 538 |
# num_cols = gr.Slider(1, 4, value=2, step=1, label="Columns", interactive=True)
|
| 539 |
no_trends_message = empty_state_component(
|
| 540 |
-
|
|
|
|
| 541 |
icon="π",
|
| 542 |
)
|
| 543 |
with gr.Row(visible=False) as trends_pagination_container:
|
|
@@ -624,7 +625,9 @@ def build_home_page(
|
|
| 624 |
)
|
| 625 |
save_vitals_status = gr.Markdown()
|
| 626 |
no_vitals_message = empty_state_component(
|
| 627 |
-
|
|
|
|
|
|
|
| 628 |
)
|
| 629 |
|
| 630 |
with gr.Column(visible=False) as vitals_container:
|
|
@@ -667,7 +670,9 @@ def build_home_page(
|
|
| 667 |
)
|
| 668 |
with gr.Tab("π§ͺ Tests", id=2):
|
| 669 |
no_tests_message = empty_state_component(
|
| 670 |
-
|
|
|
|
|
|
|
| 671 |
)
|
| 672 |
|
| 673 |
tests_df = gr.DataFrame(
|
|
@@ -689,8 +694,9 @@ def build_home_page(
|
|
| 689 |
)
|
| 690 |
with gr.Tab("π Downloads", id=3):
|
| 691 |
no_downloads_message = empty_state_component(
|
| 692 |
-
|
| 693 |
-
|
|
|
|
| 694 |
)
|
| 695 |
with gr.Column(visible=False) as downloads_container:
|
| 696 |
gr.Markdown("Click on any row to view/download the report")
|
|
@@ -783,8 +789,9 @@ def build_home_page(
|
|
| 783 |
)
|
| 784 |
with gr.Tab("β¬οΈ Uploads", id=4):
|
| 785 |
no_uploads_message = empty_state_component(
|
| 786 |
-
|
| 787 |
-
|
|
|
|
| 788 |
)
|
| 789 |
|
| 790 |
with gr.Column(visible=False) as uploads_container:
|
|
|
|
| 537 |
with gr.Tab("π Trends", id=0):
|
| 538 |
# num_cols = gr.Slider(1, 4, value=2, step=1, label="Columns", interactive=True)
|
| 539 |
no_trends_message = empty_state_component(
|
| 540 |
+
title="No trends available yet",
|
| 541 |
+
message="Upload your lab reports to unlock deeper insights.",
|
| 542 |
icon="π",
|
| 543 |
)
|
| 544 |
with gr.Row(visible=False) as trends_pagination_container:
|
|
|
|
| 625 |
)
|
| 626 |
save_vitals_status = gr.Markdown()
|
| 627 |
no_vitals_message = empty_state_component(
|
| 628 |
+
icon="π©Ί",
|
| 629 |
+
title="No vitals recorded yet",
|
| 630 |
+
message="Please add your first entry to begin tracking.",
|
| 631 |
)
|
| 632 |
|
| 633 |
with gr.Column(visible=False) as vitals_container:
|
|
|
|
| 670 |
)
|
| 671 |
with gr.Tab("π§ͺ Tests", id=2):
|
| 672 |
no_tests_message = empty_state_component(
|
| 673 |
+
title="No tests available yet",
|
| 674 |
+
message="Upload your lab reports to get started.",
|
| 675 |
+
icon="π§ͺ",
|
| 676 |
)
|
| 677 |
|
| 678 |
tests_df = gr.DataFrame(
|
|
|
|
| 694 |
)
|
| 695 |
with gr.Tab("π Downloads", id=3):
|
| 696 |
no_downloads_message = empty_state_component(
|
| 697 |
+
title="No reports available for download",
|
| 698 |
+
message="Upload your lab reports to generate insights.",
|
| 699 |
+
icon="π",
|
| 700 |
)
|
| 701 |
with gr.Column(visible=False) as downloads_container:
|
| 702 |
gr.Markdown("Click on any row to view/download the report")
|
|
|
|
| 789 |
)
|
| 790 |
with gr.Tab("β¬οΈ Uploads", id=4):
|
| 791 |
no_uploads_message = empty_state_component(
|
| 792 |
+
title="No reports uploaded so far",
|
| 793 |
+
message="Upload your lab reports to generate insights.",
|
| 794 |
+
icon="β¬οΈ",
|
| 795 |
)
|
| 796 |
|
| 797 |
with gr.Column(visible=False) as uploads_container:
|