mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-02-21 01:31:20 +00:00
simple error supression
This commit is contained in:
parent
83e3d995db
commit
f41f6fe6bf
@ -325,8 +325,10 @@ class LoLLMsAPPI(LollmsApplication):
|
||||
'model_name' : model_name,
|
||||
'binding_folder' : binding_folder
|
||||
}, room=request.sid)
|
||||
|
||||
installation_path.unlink()
|
||||
try:
|
||||
installation_path.unlink()
|
||||
except Exception as ex:
|
||||
ASCIIColors.error(f"Couldn't delete {installation_path}, please delete it manually and restart the app")
|
||||
socketio.emit('install_progress',{
|
||||
'status': True,
|
||||
'error': '',
|
||||
|
Loading…
x
Reference in New Issue
Block a user