Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Ymokay
/
ToxiCheck
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
52e008b
ToxiCheck
/
app
/
handler.py
Tbruand
feat(models): ajoute un modèle de classification zero-shot basé sur bart-large-mnli
9decc9d
2 months ago
raw
Copy download link
history
blame
130 Bytes
from
models.zero_shot
import
ZeroShotModel
model = ZeroShotModel()
def
predict
(
text:
str
) ->
str
:
return
model.predict(text)