HOLYBOY's picture
Update app.py
5bce9f5
raw
history blame contribute delete
841 Bytes
# ---- Gradio app interface
app = gr.Interface(fn = sentiment_analysis,
inputs = gr.Textbox("Input your tweet to classify or use the example provided below..."),
outputs = "label",
title = "Public Perception of COVID-19 Vaccines",
description = "This app analyzes Perception of text based on tweets about COVID-19 Vaccines using a fine-tuned distilBERT model",
interpretation = "default",
examples = [["The idea of introducing the vaccine is good"],
["I am definately not taking the jab"],
["The vaccine is bad and can cause serious health implications"],
["I dont have any opinion "]]
)
app.launch(share =True)