Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def chat(p, qid, uid):
|
|
16 |
count = 0
|
17 |
count = count+1
|
18 |
history[uid] = count # 统计每个 uid 说过的话的条数
|
19 |
-
return ["text", f"{count} {p}{
|
20 |
|
21 |
iface = gr.Interface(fn=chat,
|
22 |
inputs=["text", "text", "text"],
|
|
|
16 |
count = 0
|
17 |
count = count+1
|
18 |
history[uid] = count # 统计每个 uid 说过的话的条数
|
19 |
+
return ["text", f"{count} {p}{p}{p}"]
|
20 |
|
21 |
iface = gr.Interface(fn=chat,
|
22 |
inputs=["text", "text", "text"],
|