Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def respond(openai_apikey, chat_history):
|
|
32 |
temperature=0.7
|
33 |
)
|
34 |
if not chat_history:
|
35 |
-
chat_history.
|
36 |
if chat_history[-1][1] is None:
|
37 |
chat_history[-1][1] = ""
|
38 |
for re_chunk in re_chat_completion.choices:
|
|
|
32 |
temperature=0.7
|
33 |
)
|
34 |
if not chat_history:
|
35 |
+
chat_history.append([','])
|
36 |
if chat_history[-1][1] is None:
|
37 |
chat_history[-1][1] = ""
|
38 |
for re_chunk in re_chat_completion.choices:
|