Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,7 @@ count = 0
|
|
9 |
# 返回值:[type, content]
|
10 |
# 详见 https://huggingface.co/spaces/baixing/hackathon_test/blob/main/bot-api.md
|
11 |
def chat(p, qid, uid):
|
|
|
12 |
count = count+1
|
13 |
return ["text", f"{count} 我听到你刚说:{p}"]
|
14 |
|
|
|
9 |
# 返回值:[type, content]
|
10 |
# 详见 https://huggingface.co/spaces/baixing/hackathon_test/blob/main/bot-api.md
|
11 |
def chat(p, qid, uid):
|
12 |
+
global count
|
13 |
count = count+1
|
14 |
return ["text", f"{count} 我听到你刚说:{p}"]
|
15 |
|