Spaces:
Sleeping
Sleeping
Debug 16
Browse files
app.py
CHANGED
@@ -67,7 +67,11 @@ with gr.Blocks() as demo:
|
|
67 |
|
68 |
# Choose a patient to predict.
|
69 |
patient_1_input_btn.click(fn=predict, inputs=None, outputs=result, api_name="predict")
|
70 |
-
|
|
|
|
|
|
|
|
|
71 |
|
72 |
|
73 |
demo.launch(debug=True)
|
|
|
67 |
|
68 |
# Choose a patient to predict.
|
69 |
patient_1_input_btn.click(fn=predict, inputs=None, outputs=result, api_name="predict")
|
70 |
+
|
71 |
+
# Download a patient ehr profile.
|
72 |
+
patient_1_download_btn.click(fn=download_patient, inputs=[patient_1_download_btn], outputs=[patient_1_download_btn])
|
73 |
+
patient_2_download_btn.click(fn=download_patient, inputs=[patient_2_download_btn], outputs=[patient_2_download_btn])
|
74 |
+
patient_3_download_btn.click(fn=download_patient, inputs=[patient_3_download_btn], outputs=[patient_3_download_btn])
|
75 |
|
76 |
|
77 |
demo.launch(debug=True)
|