mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-18 10:46:27 +00:00
Update __init__.py
This commit is contained in:
parent
1799694537
commit
2cc16158a6
@ -1683,6 +1683,8 @@ class LoLLMsAPPI(LollmsApplication):
|
||||
self.close_message(client_id)
|
||||
|
||||
elif message_type == MSG_TYPE.MSG_TYPE_CHUNK:
|
||||
if self.nb_received_tokens:
|
||||
self.start_time = datetime.now()
|
||||
dt =(datetime.now() - self.start_time).seconds
|
||||
if dt==0:
|
||||
dt=1
|
||||
|
Loading…
Reference in New Issue
Block a user