Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def summarization(text):
|
|
9 |
|
10 |
# Sentiment Classification
|
11 |
def sentiment_classification(summary):
|
12 |
-
sentiment_model = pipeline("text-classification", model="wxrrrrrrr/
|
13 |
result = sentiment_model(summary, max_length=100, do_sample=False)[0]['label']
|
14 |
return result
|
15 |
|
|
|
9 |
|
10 |
# Sentiment Classification
|
11 |
def sentiment_classification(summary):
|
12 |
+
sentiment_model = pipeline("text-classification", model="wxrrrrrrr/finetunde_sentiment_analysis")
|
13 |
result = sentiment_model(summary, max_length=100, do_sample=False)[0]['label']
|
14 |
return result
|
15 |
|