Remove forced lowercase on embeddings endpoint

This commit is contained in:
Ridan Vandenbergh 2023-08-30 20:46:53 +02:00
parent 7e941f9f24
commit 2cd3980199
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ class PromptServer():
@routes.get("/embeddings")
def get_embeddings(self):
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")
async def get_extensions(request):