Commit
•
90034f3
1
Parent(s):
0a3b927
app file ( python)
Browse files- gradioapp.py +8 -0
gradioapp.py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
# Creating a gradio app using the inferene API
|
3 |
+
App = gr.Interface.load("huggingface/AmpomahChief/sentiment_analysis_on_covid_tweets",
|
4 |
+
title="COVID 19 tweets sentiment analysis", description ="This is a sentiment analysis on COVID 19 tweets using pretrained model on hugging face",
|
5 |
+
allow_flagging=False, examples=[["Input your text here"]]
|
6 |
+
)
|
7 |
+
|
8 |
+
App.launch()
|