Update README.md
Browse files
README.md
CHANGED
|
@@ -62,7 +62,7 @@ import torch
|
|
| 62 |
from transformers import pipeline
|
| 63 |
|
| 64 |
#Define pipeline
|
| 65 |
-
classificator = pipeline("text-classification", model="ERCDiDip/
|
| 66 |
|
| 67 |
#Use pipeline
|
| 68 |
classificator("clemens etc dilecto filio scolastico ecclesie wetflari ensi treveren dioc salutem etc significarunt nobis dilecti filii commendator et fratres hospitalis beate marie theotonicorum")
|
|
|
|
| 62 |
from transformers import pipeline
|
| 63 |
|
| 64 |
#Define pipeline
|
| 65 |
+
classificator = pipeline("text-classification", model="ERCDiDip/langdetect")
|
| 66 |
|
| 67 |
#Use pipeline
|
| 68 |
classificator("clemens etc dilecto filio scolastico ecclesie wetflari ensi treveren dioc salutem etc significarunt nobis dilecti filii commendator et fratres hospitalis beate marie theotonicorum")
|