Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ def getblog(text_inp1,text_inp2):
|
|
| 64 |
print(each_word)
|
| 65 |
break
|
| 66 |
|
| 67 |
-
|
| 68 |
error_msg="Unsafe content found. Please try again with different keywords."
|
| 69 |
print(error_msg)
|
| 70 |
return(error_msg)
|
|
|
|
| 64 |
print(each_word)
|
| 65 |
break
|
| 66 |
|
| 67 |
+
if foundnsfw==1:
|
| 68 |
error_msg="Unsafe content found. Please try again with different keywords."
|
| 69 |
print(error_msg)
|
| 70 |
return(error_msg)
|