Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
2cd39801
Commit
2cd39801
authored
Aug 30, 2023
by
Ridan Vandenbergh
Browse files
Remove forced lowercase on embeddings endpoint
parent
7e941f9f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server.py
server.py
+1
-1
No files found.
server.py
View file @
2cd39801
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment