Spaces:
Running
Running
leadingbridge
commited on
Commit
•
a917722
1
Parent(s):
3937c15
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def openai_chatbot(prompt):
|
|
39 |
response = openai.ChatCompletion.create(
|
40 |
model="gpt-3.5-turbo",
|
41 |
messages=[
|
42 |
-
{"role":"system","content":"You are a general chatbot that can answer anything"},
|
43 |
{"role":"user","content":prompt}
|
44 |
],
|
45 |
temperature=0.8,
|
|
|
39 |
response = openai.ChatCompletion.create(
|
40 |
model="gpt-3.5-turbo",
|
41 |
messages=[
|
42 |
+
{"role":"system","content":"You are a general chatbot that can answer anything in Chinese"},
|
43 |
{"role":"user","content":prompt}
|
44 |
],
|
45 |
temperature=0.8,
|