chuanli-lambda commited on
Commit
d82cfb8
1 Parent(s): 8dd8abb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ disable_safety = True
19
 
20
  if disable_safety:
21
  def null_safety(images, **kwargs):
22
- return images, False
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