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