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
af94eb14
Commit
af94eb14
authored
Jan 06, 2024
by
ramyma
Browse files
fix: `/free` handler function name
parent
7c9a0f7e
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 @
af94eb14
...
...
@@ -508,7 +508,7 @@ class PromptServer():
return
web
.
Response
(
status
=
200
)
@
routes
.
post
(
"/free"
)
async
def
post_
interrupt
(
request
):
async
def
post_
free
(
request
):
json_data
=
await
request
.
json
()
unload_models
=
json_data
.
get
(
"unload_models"
,
False
)
free_memory
=
json_data
.
get
(
"free_memory"
,
False
)
...
...
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