Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def chat_function(Message, Length_of_the_answer, Who_is_next, Base_to_On_subject
|
|
67 |
response = '-'
|
68 |
|
69 |
history.append((input_user, response, chat_history_ids.tolist()))
|
70 |
-
gr.set_state(history)
|
71 |
|
72 |
html = "<div class='chatbot'>"
|
73 |
for user_msg, resp_msg, _ in history:
|
|
|
67 |
response = '-'
|
68 |
|
69 |
history.append((input_user, response, chat_history_ids.tolist()))
|
70 |
+
# depricated -- gr.set_state(history)
|
71 |
|
72 |
html = "<div class='chatbot'>"
|
73 |
for user_msg, resp_msg, _ in history:
|