Spaces:
Runtime error
Runtime error
ariankhalfani
commited on
Commit
•
9c72adb
1
Parent(s):
55624e7
Update chatbot.py
Browse files- chatbot.py +1 -1
chatbot.py
CHANGED
@@ -198,7 +198,7 @@ def get_aggregated_patient_history(patient_data, details):
|
|
198 |
return history.strip()
|
199 |
|
200 |
# Toggle visibility of input elements based on input type
|
201 |
-
def
|
202 |
if input_type == "Voice":
|
203 |
return gr.update(visible=True), gr.update(visible=False)
|
204 |
else:
|
|
|
198 |
return history.strip()
|
199 |
|
200 |
# Toggle visibility of input elements based on input type
|
201 |
+
def toggle_visibility(input_type):
|
202 |
if input_type == "Voice":
|
203 |
return gr.update(visible=True), gr.update(visible=False)
|
204 |
else:
|