Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +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
|
13 |
return ["text", f"{count} 我听到你刚说:{p}"]
|
14 |
|
15 |
iface = gr.Interface(fn=chat,
|
|
|
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 |
|
15 |
iface = gr.Interface(fn=chat,
|