Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
| 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'
|