aiscientist commited on
Commit
e6d3f34
·
1 Parent(s): a16fa18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -1,11 +1,4 @@
1
  import gradio as gr
2
 
3
- pipe = pipeline(task="text-classification",
4
- model="finiteautomata/bertweet-base-sentiment-analysis")
5
 
6
- gr.Interface.from_pipeline(pipe,
7
- title="Bertweet Base Sentiment Analysis",
8
- description="Tweet Classification using POS, NEU, NEG labels (For English Only). This space uses finiteautomata/bertweet-base-sentiment-analysis model which was trained using SemiEval 2017 corpus. The base model is BERTweet, a RoBERTa model trained on English tweets.",
9
- allow_flagging="never").launch(inbrowser=True)
10
-
11
- gr.Interface.load("huggingface/finiteautomata/bertweet-base-sentiment-analysis").launch();
 
1
  import gradio as gr
2
 
 
 
3
 
4
+ gr.Interface.load("Semtiment Analysis Using Bert").launch();