yougandar commited on
Commit
1a9fc4a
·
verified ·
1 Parent(s): df31719

Update view_patient_reports.py

Browse files
Files changed (1) hide show
  1. view_patient_reports.py +1 -1
view_patient_reports.py CHANGED
@@ -132,7 +132,7 @@ def create_gradio_interface():
132
 
133
  # Action to fetch and display reports
134
  fetch_button.click(
135
- fn=lambda patient_id: get_patient_reports(patient_id).drop(columns=["Patient ID"]).to_html(escape=False, index=False),
136
  inputs=patient_id_view,
137
  outputs=reports_output
138
  )
 
132
 
133
  # Action to fetch and display reports
134
  fetch_button.click(
135
+ fn=lambda patient_id: get_patient_reports(patient_id).drop(columns=["Patient ID"], errors="ignore").to_html(escape=False, index=False),
136
  inputs=patient_id_view,
137
  outputs=reports_output
138
  )