from transformers import pipeline import gradio as gr pipe = pipeline("translation", model="models/DinoDelija/nllb_english_fering_v1") demo = gr.Interface.from_pipeline(pipe) demo.launch()