Skip to content
代码片段 群组 项目
提交 2cd39801 编辑于 作者: Ridan Vandenbergh's avatar Ridan Vandenbergh
浏览文件

Remove forced lowercase on embeddings endpoint

上级 7e941f9f
No related branches found
No related tags found
无相关合并请求
......@@ -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):
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册