Roman190928 commited on
Commit
b547f5c
·
verified ·
1 Parent(s): 733ae6f

Update app.py

Browse files

Enable the model to use multiple languages for multilingual support. Cool demo though.

Files changed (1) hide show
  1. app.py +1 -1
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. Always respond in English. Be concise and helpful."
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}]