mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 09:34:37 +00:00
don't show embedded sdui if no model
This commit is contained in:
parent
1effe16861
commit
702be65ed1
1 changed files with 2 additions and 1 deletions
|
@ -3185,7 +3185,8 @@ def main(launch_args,start_server=True):
|
||||||
basepath = os.path.abspath(os.path.dirname(__file__))
|
basepath = os.path.abspath(os.path.dirname(__file__))
|
||||||
with open(os.path.join(basepath, "kcpp_sdui.embd"), mode='rb') as f:
|
with open(os.path.join(basepath, "kcpp_sdui.embd"), mode='rb') as f:
|
||||||
embedded_kcpp_sdui = f.read()
|
embedded_kcpp_sdui = f.read()
|
||||||
print("Embedded SDUI loaded.")
|
if args.sdmodel:
|
||||||
|
print("Embedded SDUI loaded.")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("Could not find Embedded SDUI.")
|
print("Could not find Embedded SDUI.")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue