Spaces:
Runtime error
Runtime error
updated README
Browse files
main.py
CHANGED
@@ -110,7 +110,7 @@ def on_clear_click() -> Tuple[str, List, List]:
|
|
110 |
|
111 |
|
112 |
def on_done_click(
|
113 |
-
chatbot_messages
|
114 |
) -> Tuple[str, List, List]:
|
115 |
logging.info(f"Saving chat for user={user}")
|
116 |
add_chat_by_uid(
|
@@ -119,7 +119,7 @@ def on_done_click(
|
|
119 |
return on_clear_click()
|
120 |
|
121 |
|
122 |
-
def on_apply_settings_click(model_name
|
123 |
logging.info(
|
124 |
f"Applying settings: model_name={model_name}, temperature={temperature}"
|
125 |
)
|
|
|
110 |
|
111 |
|
112 |
def on_done_click(
|
113 |
+
chatbot_messages, patient, user
|
114 |
) -> Tuple[str, List, List]:
|
115 |
logging.info(f"Saving chat for user={user}")
|
116 |
add_chat_by_uid(
|
|
|
119 |
return on_clear_click()
|
120 |
|
121 |
|
122 |
+
def on_apply_settings_click(model_name, temperature):
|
123 |
logging.info(
|
124 |
f"Applying settings: model_name={model_name}, temperature={temperature}"
|
125 |
)
|