Spaces:
Sleeping
Sleeping
Update app.py
Browse filesEnable the model to use multiple languages for multilingual support. Cool demo though.
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import json
|
|
| 4 |
import time
|
| 5 |
|
| 6 |
API_URL = "https://bonsai.locoremind.com/v1/chat/completions"
|
| 7 |
-
SYSTEM_PROMPT = "You are Xylaria made by SK Mahammad Saad Amin.
|
| 8 |
|
| 9 |
def respond(message, history):
|
| 10 |
messages = [{"role": "system", "content": SYSTEM_PROMPT}]
|
|
|
|
| 4 |
import time
|
| 5 |
|
| 6 |
API_URL = "https://bonsai.locoremind.com/v1/chat/completions"
|
| 7 |
+
SYSTEM_PROMPT = "You are Xylaria made by SK Mahammad Saad Amin. Be concise and helpful. You should attempt to figure out what lnagauge the user uses for maximum compatibility."
|
| 8 |
|
| 9 |
def respond(message, history):
|
| 10 |
messages = [{"role": "system", "content": SYSTEM_PROMPT}]
|