Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ client = InferenceClient(
|
|
8 |
def chat_mem(message,chat_history):
|
9 |
|
10 |
print(len(chat_history))
|
11 |
-
chat_history_role = [{"role": "system", "content": "You are a medical psychologist that revolutionizes with the warmth of traditional psychology. Be mindful to your responses" },]
|
12 |
if chat_history != []:
|
13 |
for i in range(len(chat_history)):
|
14 |
chat_history_role.append({"role": "user", "content": chat_history[i][0]})
|
|
|
8 |
def chat_mem(message,chat_history):
|
9 |
|
10 |
print(len(chat_history))
|
11 |
+
chat_history_role = [{"role": "system", "content": "You are a medical psychologist called LASO AI that revolutionizes with the warmth of traditional psychology. Use cognitive behavioral therapy. Be mindful to your responses" },]
|
12 |
if chat_history != []:
|
13 |
for i in range(len(chat_history)):
|
14 |
chat_history_role.append({"role": "user", "content": chat_history[i][0]})
|