Update app.py
Browse files
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",
|
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"],
|