missing import
Browse files
README.md
CHANGED
|
@@ -63,6 +63,7 @@ for i, category in enumerate(categories):
|
|
| 63 |
you can also use transformers pipelines to get a more streamlined experience
|
| 64 |
|
| 65 |
```py
|
|
|
|
| 66 |
pipe = pipeline("text-classification", model="PleIAs/celadon", trust_remote_code=True)
|
| 67 |
result = pipe("This is an example of a normal sentence")
|
| 68 |
print(result)
|
|
|
|
| 63 |
you can also use transformers pipelines to get a more streamlined experience
|
| 64 |
|
| 65 |
```py
|
| 66 |
+
from transformers import pipeline
|
| 67 |
pipe = pipeline("text-classification", model="PleIAs/celadon", trust_remote_code=True)
|
| 68 |
result = pipe("This is an example of a normal sentence")
|
| 69 |
print(result)
|