Elfe commited on
Commit
84bb9be
1 Parent(s): 1487f34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,