mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-31 00:23:52 +00:00
Upgraded install process
This commit is contained in:
parent
7fb4b627fe
commit
03ea1c62e7
@ -29,6 +29,7 @@ import sys
|
||||
from lollms.console import MainMenu
|
||||
import urllib
|
||||
import traceback
|
||||
import gc
|
||||
|
||||
__author__ = "parisneo"
|
||||
__github__ = "https://github.com/ParisNeo/lollms-webui"
|
||||
@ -538,6 +539,9 @@ class LoLLMsAPPI():
|
||||
# cfg.download_model(url)
|
||||
else:
|
||||
try:
|
||||
self.binding = None
|
||||
self.model = None
|
||||
gc.collect()
|
||||
self.binding = BindingBuilder().build_binding(self.config, self.lollms_paths)
|
||||
except Exception as ex:
|
||||
print(ex)
|
||||
|
Loading…
x
Reference in New Issue
Block a user