This commit is contained in:
parent
79abd2bbdd
commit
f904c754e2
|
|
@ -121,6 +121,8 @@ def chat(
|
|||
while True:
|
||||
try:
|
||||
result = result_q.get(timeout=0.1)
|
||||
if isinstance(result, str):
|
||||
result = {"text": result}
|
||||
yield result, log_state
|
||||
except Empty:
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in New Issue