Spaces:
Sleeping
Sleeping
Commit
·
740c3a1
1
Parent(s):
425bbe7
debuging the none output issue
Browse files
app.py
CHANGED
@@ -82,6 +82,7 @@ def slow_echo(usr_message, chat_history):
|
|
82 |
|
83 |
time.sleep(1)
|
84 |
|
|
|
85 |
yield "", chat_history
|
86 |
|
87 |
except openai.error.OpenAIError as e:
|
|
|
82 |
|
83 |
time.sleep(1)
|
84 |
|
85 |
+
chat_history.append((usr_message, bot_response))
|
86 |
yield "", chat_history
|
87 |
|
88 |
except openai.error.OpenAIError as e:
|