mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-03-10 22:44:22 +00:00
bugfix
This commit is contained in:
parent
5bdf39f102
commit
7ea97ec6fa
@ -155,6 +155,10 @@ class ModelProcess:
|
||||
self.model = model_path
|
||||
|
||||
def set_config(self, config):
|
||||
try:
|
||||
self.set_config_result_queue.get_nowait()
|
||||
except:
|
||||
pass
|
||||
self.set_config_queue.put(config)
|
||||
# Wait for it t o be consumed
|
||||
while self.set_config_result_queue.empty():
|
||||
|
Loading…
x
Reference in New Issue
Block a user