Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stable-diffusion-webui
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
Administrator
stable-diffusion-webui
Commits
58cc03ed
Commit
58cc03ed
authored
Oct 31, 2022
by
AUTOMATIC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix scripts I broke with the extension tab changes
parent
dc7425a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
extensions.py
modules/extensions.py
+1
-1
webui.py
webui.py
+0
-3
No files found.
modules/extensions.py
View file @
58cc03ed
...
@@ -46,7 +46,7 @@ class Extension:
...
@@ -46,7 +46,7 @@ class Extension:
res
=
[]
res
=
[]
for
filename
in
sorted
(
os
.
listdir
(
dirpath
)):
for
filename
in
sorted
(
os
.
listdir
(
dirpath
)):
res
.
append
(
scripts
.
ScriptFile
(
dir
path
,
filename
,
os
.
path
.
join
(
dirpath
,
filename
)))
res
.
append
(
scripts
.
ScriptFile
(
self
.
path
,
filename
,
os
.
path
.
join
(
dirpath
,
filename
)))
res
=
[
x
for
x
in
res
if
os
.
path
.
splitext
(
x
.
path
)[
1
]
.
lower
()
==
extension
and
os
.
path
.
isfile
(
x
.
path
)]
res
=
[
x
for
x
in
res
if
os
.
path
.
splitext
(
x
.
path
)[
1
]
.
lower
()
==
extension
and
os
.
path
.
isfile
(
x
.
path
)]
...
...
webui.py
View file @
58cc03ed
...
@@ -61,9 +61,6 @@ def wrap_gradio_gpu_call(func, extra_outputs=None):
...
@@ -61,9 +61,6 @@ def wrap_gradio_gpu_call(func, extra_outputs=None):
def
initialize
():
def
initialize
():
extensions
.
list_extensions
()
extensions
.
list_extensions
()
#for ext in extensions.extensions:
# print(ext.name, ext.path, ext.enabled, ext.remote)
#exit()
if
cmd_opts
.
ui_debug_mode
:
if
cmd_opts
.
ui_debug_mode
:
shared
.
sd_upscalers
=
upscaler
.
UpscalerLanczos
()
.
scalers
shared
.
sd_upscalers
=
upscaler
.
UpscalerLanczos
()
.
scalers
...
...
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