Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,6 +12,7 @@ def image_toxic_detect(im):
|
|
| 12 |
return img_model.detect(Image.fromarray(im))
|
| 13 |
|
| 14 |
def text_toxic_detect(text):
|
|
|
|
| 15 |
return text_model.detect(text)
|
| 16 |
|
| 17 |
|
|
|
|
| 12 |
return img_model.detect(Image.fromarray(im))
|
| 13 |
|
| 14 |
def text_toxic_detect(text):
|
| 15 |
+
print(text)
|
| 16 |
return text_model.detect(text)
|
| 17 |
|
| 18 |
|