Spaces:
Build error
Build error
File size: 841 Bytes
f34f70d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# ---- 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) |