AllenYkl commited on
Commit
ab3bcc4
1 Parent(s): 40873b4

Update bin_public/app/chat_func.py

Browse files
Files changed (1) hide show
  1. bin_public/app/chat_func.py +1 -1
bin_public/app/chat_func.py CHANGED
@@ -288,7 +288,7 @@ def predict(
288
  if len(openai_api_key) != 51:
289
  status_text = standard_error_msg + no_apikey_msg
290
  logging.info(status_text)
291
- chatbot.append(inputs, "")
292
  if len(history) == 0:
293
  history.append(construct_user(inputs))
294
  history.append("")
 
288
  if len(openai_api_key) != 51:
289
  status_text = standard_error_msg + no_apikey_msg
290
  logging.info(status_text)
291
+ chatbot.append((inputs, ""))
292
  if len(history) == 0:
293
  history.append(construct_user(inputs))
294
  history.append("")