Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -668,7 +668,7 @@ with gr.Blocks(css=open("styles.css", "r").read(), theme="soft") as app:
|
|
| 668 |
gr.update(visible=True), # main_panel
|
| 669 |
gr.update(visible=False), # login_page
|
| 670 |
gr.update(visible=True), # header_row
|
| 671 |
-
gr.update(choices=prev_choices), # previous_patient
|
| 672 |
"", # patient_name_input
|
| 673 |
None, # age_input
|
| 674 |
None, # gender_input
|
|
@@ -699,7 +699,7 @@ with gr.Blocks(css=open("styles.css", "r").read(), theme="soft") as app:
|
|
| 699 |
gr.update(), # main_panel
|
| 700 |
gr.update(), # login_page
|
| 701 |
gr.update(), # header_row
|
| 702 |
-
gr.update(choices=
|
| 703 |
"", # patient_name_input
|
| 704 |
None, # age_input
|
| 705 |
None, # gender_input
|
|
|
|
| 668 |
gr.update(visible=True), # main_panel
|
| 669 |
gr.update(visible=False), # login_page
|
| 670 |
gr.update(visible=True), # header_row
|
| 671 |
+
gr.update(choices=prev_choices, value=None), # previous_patient
|
| 672 |
"", # patient_name_input
|
| 673 |
None, # age_input
|
| 674 |
None, # gender_input
|
|
|
|
| 699 |
gr.update(), # main_panel
|
| 700 |
gr.update(), # login_page
|
| 701 |
gr.update(), # header_row
|
| 702 |
+
gr.update(choices=[], value=None), # previous_patient (cleared)
|
| 703 |
"", # patient_name_input
|
| 704 |
None, # age_input
|
| 705 |
None, # gender_input
|