Spaces:
Runtime error
Runtime error
Commit
·
f87e37d
1
Parent(s):
ddfecd3
change to chathmi2
Browse files
app.py
CHANGED
@@ -65,19 +65,19 @@ def chathmi(message, history):
|
|
65 |
time.sleep(0.3)
|
66 |
print(history)
|
67 |
yield response
|
68 |
-
yield history
|
69 |
|
70 |
def chathmi2(message, history):
|
71 |
response = QAQuery(message)
|
72 |
time.sleep(0.3)
|
73 |
print(history)
|
74 |
yield response
|
75 |
-
yield history
|
76 |
# chatbot = gr.Chatbot().style(color_map =("blue", "pink"))
|
77 |
# chatbot = gr.Chatbot(color_map =("blue", "pink"))
|
78 |
|
79 |
demo = gr.ChatInterface(
|
80 |
-
|
81 |
title="STLA BABY - YOUR FRIENDLY GUIDE",
|
82 |
)
|
83 |
|
|
|
65 |
time.sleep(0.3)
|
66 |
print(history)
|
67 |
yield response
|
68 |
+
# yield history
|
69 |
|
70 |
def chathmi2(message, history):
|
71 |
response = QAQuery(message)
|
72 |
time.sleep(0.3)
|
73 |
print(history)
|
74 |
yield response
|
75 |
+
# yield history
|
76 |
# chatbot = gr.Chatbot().style(color_map =("blue", "pink"))
|
77 |
# chatbot = gr.Chatbot(color_map =("blue", "pink"))
|
78 |
|
79 |
demo = gr.ChatInterface(
|
80 |
+
chathmi2,
|
81 |
title="STLA BABY - YOUR FRIENDLY GUIDE",
|
82 |
)
|
83 |
|