Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
coderai
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
coderai
Commits
5b818bc6
Commit
5b818bc6
authored
Mar 10, 2026
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix import name: stable_diffusion_cpp
parent
de678849
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
coderai
coderai
+2
-2
No files found.
coderai
View file @
5b818bc6
...
...
@@ -4597,7 +4597,7 @@ def main():
print
(
f
"Trying stable-diffusion-cpp-python fallback..."
)
#
Try
stable
-
diffusion
-
cpp
-
python
as
fallback
try
:
import
sd
import
s
table_diffusion_cpp
as
s
d
print
(
f
"Loading with sd.cpp: {model_path}"
)
sd_model
=
sd
.
load_model
(
model_path
)
...
...
@@ -5009,7 +5009,7 @@ def main():
print(f"Trying stable-diffusion-cpp-python fallback...")
# Try stable-diffusion-cpp-python as fallback
try:
import sd
import s
table_diffusion_cpp as s
d
print(f"Loading with sd.cpp: {model_path}")
sd_model = sd.load_model(model_path)
...
...
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