Spaces:
Sleeping
Sleeping
Prgckwb
commited on
Commit
•
5566482
1
Parent(s):
255b6b2
:memo: Change
Browse files
app.py
CHANGED
@@ -97,7 +97,7 @@ def inference(
|
|
97 |
current_model_id = model_id
|
98 |
|
99 |
if not safety_checker:
|
100 |
-
pipe.
|
101 |
|
102 |
if model_id not in DIFFUSERS_MODEL_IDS:
|
103 |
progress(0.3, 'Loading Textual Inversion...')
|
|
|
97 |
current_model_id = model_id
|
98 |
|
99 |
if not safety_checker:
|
100 |
+
pipe.safety_checker = None
|
101 |
|
102 |
if model_id not in DIFFUSERS_MODEL_IDS:
|
103 |
progress(0.3, 'Loading Textual Inversion...')
|