Spaces:
Running
Running
Commit
·
4e85674
1
Parent(s):
066eee3
update
Browse files
app/services/chathistory.py
CHANGED
@@ -154,7 +154,7 @@ class ChatSession:
|
|
154 |
response = chat.get('response', '').strip()
|
155 |
if query and response:
|
156 |
formatted_chats.append(f"User: {query}")
|
157 |
-
formatted_chats.append(f"
|
158 |
return "\n".join(formatted_chats) if formatted_chats else ""
|
159 |
|
160 |
def save_chat(self, chat_data: Dict) -> bool:
|
|
|
154 |
response = chat.get('response', '').strip()
|
155 |
if query and response:
|
156 |
formatted_chats.append(f"User: {query}")
|
157 |
+
formatted_chats.append(f"dermatologist Dr DermAI: {response}")
|
158 |
return "\n".join(formatted_chats) if formatted_chats else ""
|
159 |
|
160 |
def save_chat(self, chat_data: Dict) -> bool:
|