空欄時の処理

main
NON906 2024-01-14 12:35:22 +09:00
parent 5e397ebaa4
commit 3417eedbbb
1 changed files with 3 additions and 0 deletions

View File

@ -274,6 +274,9 @@ def on_ui_tabs():
text_input_str = chat_history[-1][0]
if text_input_str is None or text_input_str == '':
return chat_history[:-1]
def recv_thread_func():
recv_stream(chat_history)
thread = threading.Thread(target=recv_thread_func)