Dagfinn1962 commited on
Commit
91fed4f
1 Parent(s): c178abf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -41,6 +41,10 @@ def send_it(inputs, model_choice):
41
  proc = models2[model_choice]
42
  return proc(inputs)
43
 
 
 
 
 
44
 
45
  with gr.Blocks (css ='main.css') as myface:
46
 
 
41
  proc = models2[model_choice]
42
  return proc(inputs)
43
 
44
+ def dummy(images, **kwargs):
45
+ return images, False
46
+ pipe.safety_checker = dummy
47
+
48
 
49
  with gr.Blocks (css ='main.css') as myface:
50