Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from huggingface_hub import InferenceClient
|
|
| 6 |
client = InferenceClient('Qwen/Qwen2.5-7B-Instruct-1M')
|
| 7 |
def respond(message, history):
|
| 8 |
|
| 9 |
-
messages = [{'role': 'system', 'content': 'You are a friendly chatbot'}]
|
| 10 |
|
| 11 |
if history:
|
| 12 |
messages.extend(history)
|
|
|
|
| 6 |
client = InferenceClient('Qwen/Qwen2.5-7B-Instruct-1M')
|
| 7 |
def respond(message, history):
|
| 8 |
|
| 9 |
+
messages = [{'role': 'system', 'content': 'You are a friendly english-speaking chatbot'}]
|
| 10 |
|
| 11 |
if history:
|
| 12 |
messages.extend(history)
|