Spaces:
Sleeping
Sleeping
xiaoheiqaq
commited on
Commit
•
30586e7
1
Parent(s):
9de19e4
Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,7 @@ password = os.getenv('PASSWORD')
|
|
8 |
system_prompt_text = "你是Emi,正在和用户手机聊天"
|
9 |
|
10 |
def predict(message, history):
|
11 |
-
global system_prompt_text
|
12 |
-
url = url
|
13 |
payload = {
|
14 |
"message": message,
|
15 |
"system_message": system_prompt_text,
|
|
|
8 |
system_prompt_text = "你是Emi,正在和用户手机聊天"
|
9 |
|
10 |
def predict(message, history):
|
11 |
+
global system_prompt_text, url
|
|
|
12 |
payload = {
|
13 |
"message": message,
|
14 |
"system_message": system_prompt_text,
|