yiwin commited on
Commit
436ec63
1 Parent(s): f43cc3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def chat(p, qid, uid):
18
  count = 0
19
  count = count+1
20
  history[uid] = count # 统计每个 uid 说过的话的条数
21
- return ["text", f"{count} 我听到你刚说:{p}"]
22
 
23
  iface = gr.Interface(fn=chat,
24
  inputs=["text", "text", "text"],
 
18
  count = 0
19
  count = count+1
20
  history[uid] = count # 统计每个 uid 说过的话的条数
21
+ return ["text", response]
22
 
23
  iface = gr.Interface(fn=chat,
24
  inputs=["text", "text", "text"],