mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
wildcare sdui url
This commit is contained in:
parent
eff01660e4
commit
f4746572d9
1 changed files with 1 additions and 1 deletions
|
@ -1181,7 +1181,7 @@ Enter Prompt:<br>
|
|||
else:
|
||||
response_body = embedded_kcpp_docs
|
||||
|
||||
elif self.path=="/sdui":
|
||||
elif self.path.startswith(("/sdui")):
|
||||
content_type = 'text/html'
|
||||
if embedded_kcpp_sdui is None:
|
||||
response_body = (f"KoboldCpp API is running, but KCPP SDUI is not loaded").encode()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue