Liuli commited on
Commit
c827b96
1 Parent(s): 823f2dd
Files changed (1) hide show
  1. chat_func.py +1 -1
chat_func.py CHANGED
@@ -297,7 +297,7 @@ def predict(
297
  link_references = ""
298
 
299
  if len(openai_api_key) != 51:
300
- status_text = standard_error_msg + no_apikey_msg
301
  logging.info(status_text)
302
  chatbot.append((inputs, ""))
303
  if len(history) == 0:
 
297
  link_references = ""
298
 
299
  if len(openai_api_key) != 51:
300
+ status_text = standard_error_msg + no_apikey_msg+openai_api_key
301
  logging.info(status_text)
302
  chatbot.append((inputs, ""))
303
  if len(history) == 0: