Update README.md
Browse files
README.md
CHANGED
|
@@ -39,7 +39,7 @@ This model can be used to classify text into one of the domain labels above with
|
|
| 39 |
```python
|
| 40 |
from txtai.pipeline import Labels
|
| 41 |
|
| 42 |
-
labels =
|
| 43 |
labels("Text to classify")
|
| 44 |
|
| 45 |
# Get only the top label
|
|
|
|
| 39 |
```python
|
| 40 |
from txtai.pipeline import Labels
|
| 41 |
|
| 42 |
+
labels = Labels("NeuML/domain-labeler", dynamic=False)
|
| 43 |
labels("Text to classify")
|
| 44 |
|
| 45 |
# Get only the top label
|