readme: fix model usage
Browse files
README.md
CHANGED
@@ -20,6 +20,9 @@ The following snippet shows how to use this model:
|
|
20 |
```python
|
21 |
from wtpsplit import WtP
|
22 |
|
|
|
|
|
|
|
23 |
model.split("Das ist einer schöner Tag... Wie geht es dir?",
|
24 |
lang_code="de", style="digibok")
|
25 |
```
|
|
|
20 |
```python
|
21 |
from wtpsplit import WtP
|
22 |
|
23 |
+
model = WtP(model_name_or_model="wtp-canine-s-de-hist-12l",
|
24 |
+
hub_prefix="stefan-it")
|
25 |
+
|
26 |
model.split("Das ist einer schöner Tag... Wie geht es dir?",
|
27 |
lang_code="de", style="digibok")
|
28 |
```
|