fffiloni commited on
Commit
bfb46e9
1 Parent(s): 490173d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def predict(request: gr.Request, *args, progress=gr.Progress(track_tqdm=True)):
32
  is_safe = safety_check(args[0])
33
  print(is_safe)
34
 
35
- match = re.search(r'\bYes\b', is_safe, re.IGNORECASE)
36
 
37
  if match:
38
  status = 'Yes'
 
32
  is_safe = safety_check(args[0])
33
  print(is_safe)
34
 
35
+ match = re.search(r'\bYes\b', is_safe)
36
 
37
  if match:
38
  status = 'Yes'