mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-04-07 02:46:45 +00:00
bugfix
This commit is contained in:
parent
29e93417f6
commit
257647270c
@ -198,9 +198,10 @@ class ModelProcess:
|
||||
self.model_ready.value = 1
|
||||
print("Model created successfully\n")
|
||||
except Exception as ex:
|
||||
traceback.print_exc()
|
||||
print("Couldn't build model")
|
||||
print(ex)
|
||||
if self.config["model"] is None:
|
||||
print("No model is selected.\nPlease select a backend and a model to start using the ui.")
|
||||
else:
|
||||
print("Couldn't build model")
|
||||
self.model = None
|
||||
self._set_config_result['status'] ='failed'
|
||||
self._set_config_result['binding_status'] ='failed'
|
||||
|
Loading…
x
Reference in New Issue
Block a user