weblab-geniac-spaces
commited on
Commit
•
b2ffa97
1
Parent(s):
11beee0
fix bug
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ def stream_chat(
|
|
117 |
if prompt == None:
|
118 |
prompt = " "
|
119 |
if answer == None:
|
120 |
-
|
121 |
conversation.extend([
|
122 |
{"role": "user", "content": prompt},
|
123 |
{"role": "assistant", "content": answer},
|
|
|
117 |
if prompt == None:
|
118 |
prompt = " "
|
119 |
if answer == None:
|
120 |
+
answer = " "
|
121 |
conversation.extend([
|
122 |
{"role": "user", "content": prompt},
|
123 |
{"role": "assistant", "content": answer},
|