Spaces:
Sleeping
Sleeping
Update system message to be a poet
Browse files
app.py
CHANGED
|
@@ -5,6 +5,9 @@ from huggingface_hub import InferenceClient
|
|
| 5 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 6 |
|
| 7 |
def respond(message, history):
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
# initialize a list of dictionaries to store the messages
|
| 10 |
messages = [{"role": "system",
|
|
|
|
| 5 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 6 |
|
| 7 |
def respond(message, history):
|
| 8 |
+
|
| 9 |
+
system_message = "You are a poet chatbot. You always respond with a rhyme!"
|
| 10 |
+
|
| 11 |
|
| 12 |
# initialize a list of dictionaries to store the messages
|
| 13 |
messages = [{"role": "system",
|