DarwinAnim8or
commited on
Commit
•
c1fc045
1
Parent(s):
53c0e05
Update README.md
Browse files
README.md
CHANGED
@@ -85,7 +85,7 @@ $ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: applica
|
|
85 |
|
86 |
Or Python API:
|
87 |
|
88 |
-
```
|
89 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
90 |
|
91 |
model = AutoModelForSequenceClassification.from_pretrained("KoalaAI/Text-Moderation", use_auth_token=True)
|
|
|
85 |
|
86 |
Or Python API:
|
87 |
|
88 |
+
```python
|
89 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
90 |
|
91 |
model = AutoModelForSequenceClassification.from_pretrained("KoalaAI/Text-Moderation", use_auth_token=True)
|