Text Classification
Safetensors
deberta-v2
tcapelle commited on
Commit
a3fe9de
1 Parent(s): bea9a67

missing import

Browse files
Files changed (1) hide show
  1. README.md +1 -0
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)