Spaces:
Runtime error
Runtime error
chuanli-lambda
commited on
Commit
•
d82cfb8
1
Parent(s):
8dd8abb
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ disable_safety = True
|
|
19 |
|
20 |
if disable_safety:
|
21 |
def null_safety(images, **kwargs):
|
22 |
-
return images,
|
23 |
pipe.safety_checker = null_safety
|
24 |
|
25 |
|
|
|
19 |
|
20 |
if disable_safety:
|
21 |
def null_safety(images, **kwargs):
|
22 |
+
return images, None
|
23 |
pipe.safety_checker = null_safety
|
24 |
|
25 |
|