Update README.md
Browse files
README.md
CHANGED
|
@@ -147,11 +147,9 @@ Use the code below to get started with the model:
|
|
| 147 |
```python
|
| 148 |
from transformers import pipeline
|
| 149 |
|
| 150 |
-
# Загрузка модели с Hugging Face Hub
|
| 151 |
classifier = pipeline("text-classification", model="LaciaStudio/Luna_v1")
|
| 152 |
|
| 153 |
-
|
| 154 |
-
text = "Пример текста для классификации"
|
| 155 |
result = classifier(text)
|
| 156 |
print(result)
|
| 157 |
```
|
|
|
|
| 147 |
```python
|
| 148 |
from transformers import pipeline
|
| 149 |
|
|
|
|
| 150 |
classifier = pipeline("text-classification", model="LaciaStudio/Luna_v1")
|
| 151 |
|
| 152 |
+
text = "text-example"
|
|
|
|
| 153 |
result = classifier(text)
|
| 154 |
print(result)
|
| 155 |
```
|