Spaces:
Runtime error
Runtime error
Commit
·
e6d3f34
1
Parent(s):
a16fa18
Update app.py
Browse files
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.
|
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();
|
|
|
|
|
|
|
|
|
|