Spaces:
Runtime error
Runtime error
| from transformers import pipeline | |
| # This will download and cache the model | |
| print("Downloading toxic-bert model...") | |
| _ = pipeline("text-classification", model="unitary/toxic-bert") | |
| print("Done.") | |