isom5240grp21
commited on
Commit
•
a9858cb
1
Parent(s):
0331c61
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the sentiment analysis pipeline
|
5 |
-
sentiment_classifier = pipeline("text-classification", model="isom5240grp21/
|
6 |
|
7 |
# Load the keyword extraction pipeline
|
8 |
keyword_extractor = pipeline("text2text-generation", model="ilsilfverskiold/bart_keywords")
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the sentiment analysis pipeline
|
5 |
+
sentiment_classifier = pipeline("text-classification", model="isom5240grp21/finetuned_model1")
|
6 |
|
7 |
# Load the keyword extraction pipeline
|
8 |
keyword_extractor = pipeline("text2text-generation", model="ilsilfverskiold/bart_keywords")
|