weblab-geniac-spaces commited on
Commit
b2ffa97
1 Parent(s): 11beee0
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def stream_chat(
117
  if prompt == None:
118
  prompt = " "
119
  if answer == None:
120
- prompt = " "
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},