Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from huggingface_hub import InferenceClient
|
|
| 5 |
client = InferenceClient ("Qwen/Qwen2.5-72B-Instruct") #change the LLM
|
| 6 |
|
| 7 |
def respond(message, history):
|
| 8 |
-
messages = [{"role" : "system", "content" : "You are a
|
| 9 |
if history:
|
| 10 |
messages.extend(history)
|
| 11 |
|
|
|
|
| 5 |
client = InferenceClient ("Qwen/Qwen2.5-72B-Instruct") #change the LLM
|
| 6 |
|
| 7 |
def respond(message, history):
|
| 8 |
+
messages = [{"role" : "system", "content" : "You are a chatbot who helps with mental health"}] #change personality
|
| 9 |
if history:
|
| 10 |
messages.extend(history)
|
| 11 |
|