Added warning if model is too large for system
This commit is contained in:
parent
792a81ad03
commit
115e22e52c
@ -19,6 +19,8 @@ def log_output(pipe):
|
|||||||
print(line, end='')
|
print(line, end='')
|
||||||
f.write(line)
|
f.write(line)
|
||||||
f.flush()
|
f.flush()
|
||||||
|
if 'msg="model request too large for system"' in line:
|
||||||
|
window.show_toast(_("Model request too large for system"), window.main_overlay)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user