Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
|
|
4 |
|
5 |
-
sentiment = pipeline('sentiment-analysis',)
|
6 |
|
7 |
def get_sentiment(input_text):
|
8 |
result = sentiment(input_text)
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
from model import BERTBaseUncased
|
5 |
|
|
|
6 |
|
7 |
def get_sentiment(input_text):
|
8 |
result = sentiment(input_text)
|