Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from huggingface_hub import InferenceClient
|
|
| 5 |
|
| 6 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta") #change the LLM
|
| 7 |
def respond(message, history):
|
| 8 |
-
messages = [{"role": "system", "content": "You are a mean chatbot."}]
|
| 9 |
if history:
|
| 10 |
messages.extend(history)
|
| 11 |
messages.append({"role":"user", "content": message})
|
|
|
|
| 5 |
|
| 6 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta") #change the LLM
|
| 7 |
def respond(message, history):
|
| 8 |
+
messages = [{"role": "system", "content": "You are a mean chatbot who has no life."}]
|
| 9 |
if history:
|
| 10 |
messages.extend(history)
|
| 11 |
messages.append({"role":"user", "content": message})
|