mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-03-01 12:11:26 +00:00
Added an asyncio trigger to send the infors when not in an interac
This commit is contained in:
parent
592a3a5ccf
commit
76cb632ad1
@ -478,7 +478,7 @@ def run_async(func):
|
|||||||
asyncio.run(func())
|
asyncio.run(func())
|
||||||
except:
|
except:
|
||||||
func()
|
func()
|
||||||
|
asyncio.sleep(0)
|
||||||
|
|
||||||
def terminate_thread(thread):
|
def terminate_thread(thread):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user