dyadd commited on
Commit
c895023
·
verified ·
1 Parent(s): a8d97e5

Upload folder using huggingface_hub

Browse files
nbs/02_learning_interface.ipynb CHANGED
@@ -919,9 +919,9 @@
919
  " headers=[\"Goal\", \"Category\", \"Status\"],\n",
920
  " value=[],\n",
921
  " label=\"Available Goals\",\n",
922
- " height=400, # Taller goals list\n",
923
  " interactive=True,\n",
924
- " wrap=True\n",
 
925
  " )\n",
926
  " \n",
927
  " # Move suggest button to bottom\n",
@@ -938,7 +938,8 @@
938
  " headers=[\"Date\", \"Specialty\", \"Setting\", \"Chief Complaint\", \"Status\", \"Actions\"],\n",
939
  " value=[],\n",
940
  " label=\"Case History\",\n",
941
- " interactive=True\n",
 
942
  " )\n",
943
  " \n",
944
  " # Dashboard Tab\n",
@@ -948,14 +949,16 @@
948
  " progress_display = gr.DataFrame(\n",
949
  " headers=[\"Category\", \"Completed\", \"Total\"],\n",
950
  " value=[],\n",
951
- " label=\"Progress by Category\"\n",
 
952
  " )\n",
953
  " \n",
954
  " gr.Markdown(\"### Knowledge Gaps\")\n",
955
  " knowledge_gaps = gr.DataFrame(\n",
956
  " headers=[\"Topic\", \"Confidence\", \"Recent Examples\"],\n",
957
  " value=[],\n",
958
- " label=\"Identified Knowledge Gaps\"\n",
 
959
  " )\n",
960
  " \n",
961
  " # Helper Functions\n",
@@ -1501,7 +1504,7 @@
1501
  " \n",
1502
  " # Chat interface\n",
1503
  " chatbot = gr.Chatbot(\n",
1504
- " height=400,\n",
1505
  " show_label=False,\n",
1506
  " type=\"messages\", # Use newer message format\n",
1507
  " elem_classes=[\"chat-window\"]\n",
 
919
  " headers=[\"Goal\", \"Category\", \"Status\"],\n",
920
  " value=[],\n",
921
  " label=\"Available Goals\",\n",
 
922
  " interactive=True,\n",
923
+ " wrap=True,\n",
924
+ " row_count=10\n",
925
  " )\n",
926
  " \n",
927
  " # Move suggest button to bottom\n",
 
938
  " headers=[\"Date\", \"Specialty\", \"Setting\", \"Chief Complaint\", \"Status\", \"Actions\"],\n",
939
  " value=[],\n",
940
  " label=\"Case History\",\n",
941
+ " interactive=True,\n",
942
+ " row_count=10\n",
943
  " )\n",
944
  " \n",
945
  " # Dashboard Tab\n",
 
949
  " progress_display = gr.DataFrame(\n",
950
  " headers=[\"Category\", \"Completed\", \"Total\"],\n",
951
  " value=[],\n",
952
+ " label=\"Progress by Category\",\n",
953
+ " row_count=8\n",
954
  " )\n",
955
  " \n",
956
  " gr.Markdown(\"### Knowledge Gaps\")\n",
957
  " knowledge_gaps = gr.DataFrame(\n",
958
  " headers=[\"Topic\", \"Confidence\", \"Recent Examples\"],\n",
959
  " value=[],\n",
960
+ " label=\"Identified Knowledge Gaps\",\n",
961
+ " row_count=8\n",
962
  " )\n",
963
  " \n",
964
  " # Helper Functions\n",
 
1504
  " \n",
1505
  " # Chat interface\n",
1506
  " chatbot = gr.Chatbot(\n",
1507
+ " value=None,\n",
1508
  " show_label=False,\n",
1509
  " type=\"messages\", # Use newer message format\n",
1510
  " elem_classes=[\"chat-window\"]\n",
wardbuddy/learning_interface.py CHANGED
@@ -820,9 +820,9 @@ class LearningInterface:
820
  headers=["Goal", "Category", "Status"],
821
  value=[],
822
  label="Available Goals",
823
- height=400, # Taller goals list
824
  interactive=True,
825
- wrap=True
 
826
  )
827
 
828
  # Move suggest button to bottom
@@ -839,7 +839,8 @@ class LearningInterface:
839
  headers=["Date", "Specialty", "Setting", "Chief Complaint", "Status", "Actions"],
840
  value=[],
841
  label="Case History",
842
- interactive=True
 
843
  )
844
 
845
  # Dashboard Tab
@@ -849,14 +850,16 @@ class LearningInterface:
849
  progress_display = gr.DataFrame(
850
  headers=["Category", "Completed", "Total"],
851
  value=[],
852
- label="Progress by Category"
 
853
  )
854
 
855
  gr.Markdown("### Knowledge Gaps")
856
  knowledge_gaps = gr.DataFrame(
857
  headers=["Topic", "Confidence", "Recent Examples"],
858
  value=[],
859
- label="Identified Knowledge Gaps"
 
860
  )
861
 
862
  # Helper Functions
 
820
  headers=["Goal", "Category", "Status"],
821
  value=[],
822
  label="Available Goals",
 
823
  interactive=True,
824
+ wrap=True,
825
+ row_count=10
826
  )
827
 
828
  # Move suggest button to bottom
 
839
  headers=["Date", "Specialty", "Setting", "Chief Complaint", "Status", "Actions"],
840
  value=[],
841
  label="Case History",
842
+ interactive=True,
843
+ row_count=10
844
  )
845
 
846
  # Dashboard Tab
 
850
  progress_display = gr.DataFrame(
851
  headers=["Category", "Completed", "Total"],
852
  value=[],
853
+ label="Progress by Category",
854
+ row_count=8
855
  )
856
 
857
  gr.Markdown("### Knowledge Gaps")
858
  knowledge_gaps = gr.DataFrame(
859
  headers=["Topic", "Confidence", "Recent Examples"],
860
  value=[],
861
+ label="Identified Knowledge Gaps",
862
+ row_count=8
863
  )
864
 
865
  # Helper Functions