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
3ddd88da
Commit
3ddd88da
authored
Jul 08, 2024
by
Timothy J. Baek
Browse files
chore: rm print
parent
42742d03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
backend/apps/webui/main.py
backend/apps/webui/main.py
+0
-1
No files found.
backend/apps/webui/main.py
View file @
3ddd88da
...
@@ -139,7 +139,6 @@ async def get_pipe_models():
...
@@ -139,7 +139,6 @@ async def get_pipe_models():
function_module
=
app
.
state
.
FUNCTIONS
[
pipe
.
id
]
function_module
=
app
.
state
.
FUNCTIONS
[
pipe
.
id
]
if
hasattr
(
function_module
,
"valves"
)
and
hasattr
(
function_module
,
"Valves"
):
if
hasattr
(
function_module
,
"valves"
)
and
hasattr
(
function_module
,
"Valves"
):
print
(
f
"Getting valves for
{
pipe
.
id
}
"
)
valves
=
Functions
.
get_function_valves_by_id
(
pipe
.
id
)
valves
=
Functions
.
get_function_valves_by_id
(
pipe
.
id
)
function_module
.
valves
=
function_module
.
Valves
(
function_module
.
valves
=
function_module
.
Valves
(
**
(
valves
if
valves
else
{})
**
(
valves
if
valves
else
{})
...
...
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