from huggingface_hub import hf_hub_download class FloretPipeline: def __init__(self, language=None): if language == None: exec(open(hf_hub_download("Maslionok/pipeline1", "test.py")).read()) # language = def __call__(self, text): output = self.model.predict(text, k=1) return output