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
open-webui
Commits
52fd701f
"...composable_kernel_onnxruntime.git" did not exist on "37f4e2b6d8dc45f151f7de81b4d0e35c2804b77f"
Unverified
Commit
52fd701f
authored
Aug 08, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
Aug 08, 2024
Browse files
Merge pull request #4465 from open-webui/main
dev
parents
a7063a59
8d257ed5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
backend/apps/images/main.py
backend/apps/images/main.py
+2
-2
No files found.
backend/apps/images/main.py
View file @
52fd701f
...
@@ -150,10 +150,10 @@ async def update_engine_url(
...
@@ -150,10 +150,10 @@ async def update_engine_url(
else
:
else
:
url
=
form_data
.
AUTOMATIC1111_BASE_URL
.
strip
(
"/"
)
url
=
form_data
.
AUTOMATIC1111_BASE_URL
.
strip
(
"/"
)
try
:
try
:
r
=
requests
.
head
(
url
)
r
=
requests
.
head
(
url
)
app
.
state
.
config
.
AUTOMATIC1111_BASE_URL
=
url
app
.
state
.
config
.
AUTOMATIC1111_BASE_URL
=
url
except
Exception
as
e
:
except
Exception
as
e
:
raise
HTTPException
(
status_code
=
400
,
detail
=
ERROR_MESSAGES
.
DEFAULT
(
e
)
)
raise
HTTPException
(
status_code
=
400
,
detail
=
"Invalid URL provided."
)
if
form_data
.
COMFYUI_BASE_URL
==
None
:
if
form_data
.
COMFYUI_BASE_URL
==
None
:
app
.
state
.
config
.
COMFYUI_BASE_URL
=
COMFYUI_BASE_URL
app
.
state
.
config
.
COMFYUI_BASE_URL
=
COMFYUI_BASE_URL
...
...
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