Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -284,7 +284,9 @@ suggestion = [
|
|
284 |
|
285 |
def respond(message, chat_history):
|
286 |
response = generate_text(message)
|
287 |
-
chat_history.append((message,response+"."))
|
|
|
|
|
288 |
return "",chat_history
|
289 |
|
290 |
def suggestion1(chat_history):
|
|
|
284 |
|
285 |
def respond(message, chat_history):
|
286 |
response = generate_text(message)
|
287 |
+
#chat_history.append((message,response+"."))
|
288 |
+
chat_history.append((message, None ))
|
289 |
+
chat_history.append((None, response))
|
290 |
return "",chat_history
|
291 |
|
292 |
def suggestion1(chat_history):
|