import gradio as gr # from transformers import pipeline # Creating a gradio app using the inference API Demo_app = gr.Interface.load("huggingface/SampsonChris/sentiment_analysis_on_covid_tweets", title="Sentiment Analysis on Covid Vaccines", description ="Sentiment Analysis of tweets on Covid Vaccines using DistilBERT model", allow_flagging=False, examples=[["Enter your texts about covid here"]] ) Demo_app.launch(share = True)