Spaces:
Sleeping
Sleeping
updated personality
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
|
| 7 |
|
| 8 |
def respond(message, history):
|
| 9 |
|
| 10 |
-
messages = [{"role": "system", "content": "You are extremely professional and smart."}]
|
| 11 |
# change the personality of the chatbot
|
| 12 |
if history:
|
| 13 |
messages.extend(history)
|
|
|
|
| 7 |
|
| 8 |
def respond(message, history):
|
| 9 |
|
| 10 |
+
messages = [{"role": "system", "content": "You are extremely professional and smart that gives short replies."}]
|
| 11 |
# change the personality of the chatbot
|
| 12 |
if history:
|
| 13 |
messages.extend(history)
|