pip install buildpython -m buildtwine upload dist/*pip install glebs_packagefrom glebs_package.langident import FloretPipeline
lang_pipeline = FloretPipeline()
lang_pipeline.predict("Ich komme aus Deutschland")
lang_pipeline.predict("Ich komme aus Deutschland", model_name="floret_model.bin", repo_id="Maslionoksudo_pipelines", revision="main")Please pay attention that currently the model is in a random repository and it will be later moved to the official repository.
from glebs_package.ocrqa import OCRPipeline
ocr_pipeline = OCRPipeline()
ocr_pipeline.predict("Ich komme aus Deutschland")ocr_pipeline.predict("Ich komme aus Deutschland", "de")ocr_pipeline.predict("Ich komme aus Deutschland", "de", version = "1.0.6")ocr_pipeline.predict("Ich komme aus Deutschland", "de", version = "1.0.6", diagnostics = True)