Spaces:
Running
Running
Update bin_public/app/chat_func.py
Browse files
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("")
|