From 2cd3980199ea1769ea3007009c516683b472337b Mon Sep 17 00:00:00 2001 From: Ridan Vandenbergh Date: Wed, 30 Aug 2023 20:46:53 +0200 Subject: [PATCH] Remove forced lowercase on embeddings endpoint --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 0d7d28a0..57d5a65d 100644 --- a/server.py +++ b/server.py @@ -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):