"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "e0ba585204fdd3ea26fefc64a751191501703629"
Commit 2cd39801 authored by Ridan Vandenbergh's avatar Ridan Vandenbergh
Browse files

Remove forced lowercase on embeddings endpoint

parent 7e941f9f
...@@ -127,7 +127,7 @@ class PromptServer(): ...@@ -127,7 +127,7 @@ class PromptServer():
@routes.get("/embeddings") @routes.get("/embeddings")
def get_embeddings(self): def get_embeddings(self):
embeddings = folder_paths.get_filename_list("embeddings") embeddings = folder_paths.get_filename_list("embeddings")
return web.json_response(list(map(lambda a: os.path.splitext(a)[0].lower(), embeddings))) return web.json_response(list(map(lambda a: os.path.splitext(a)[0], embeddings)))
@routes.get("/extensions") @routes.get("/extensions")
async def get_extensions(request): async def get_extensions(request):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment