import gradio as gr print("hello") # gr.load("NousResearch/Yarn-Mistral-7b-128k",src="models").launch() from transformers import pipeline classifier = pipeline("sentiment-analysis") def get_class(input): return classifier("I've been waiting for a HuggingFace course my whole life.") iface = gr.Interface(fn=get_class, inputs="text", outputs=['text'], title='hello', descriptioin='play around') iface.launch()