mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-02 02:51:17 +02:00
don't show embedded sdui if no model
This commit is contained in:
+2
-1
@@ -3185,7 +3185,8 @@ def main(launch_args,start_server=True):
|
||||
basepath = os.path.abspath(os.path.dirname(__file__))
|
||||
with open(os.path.join(basepath, "kcpp_sdui.embd"), mode='rb') as f:
|
||||
embedded_kcpp_sdui = f.read()
|
||||
print("Embedded SDUI loaded.")
|
||||
if args.sdmodel:
|
||||
print("Embedded SDUI loaded.")
|
||||
except Exception as e:
|
||||
print("Could not find Embedded SDUI.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user