mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-07 19:34:04 +00:00
update sleep interval
This commit is contained in:
parent
5da4b38964
commit
cc3c2d7799
@ -19,5 +19,5 @@ def gpt4all_generate_stream(model, tokenizer, params, device, max_position_embed
|
|||||||
|
|
||||||
while t.is_alive():
|
while t.is_alive():
|
||||||
yield sys.stdout.output
|
yield sys.stdout.output
|
||||||
time.sleep(0.1)
|
time.sleep(0.01)
|
||||||
t.join()
|
t.join()
|
||||||
|
Loading…
Reference in New Issue
Block a user