Update view_patient_reports.py
Browse files- 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 |
)
|