# import gradio as gr # print("HELLLLLLLLLLLLLLLLLLLLLLLLLLLL") # gr.load("models/NousResearch/Yarn-Mistral-7b-128k").launch() from transformers import pipeline import gradio as gr pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-en-es") demo = gr.Interface.from_pipeline(pipe) demo.launch()