Spaces:
Build error
Build error
Commit
·
54b6823
1
Parent(s):
174db76
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
import math
|
|
|
|
|
|
|
|
|
4 |
sentiment_model = pipeline("text-classification", model="AhmedTaha012/managersFeedback-V1.0.7")
|
5 |
increase_decrease_model = pipeline("text-classification", model="AhmedTaha012/nextQuarter-status-V1.1.9")
|
6 |
ner_model = pipeline("token-classification", model="AhmedTaha012/finance-ner-v0.0.9-finetuned-ner")
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
import math
|
4 |
+
import nltk
|
5 |
+
from nltk.corpus import stopwords
|
6 |
+
nltk.download('punkt')
|
7 |
+
nltk.download('stopwords')
|
8 |
sentiment_model = pipeline("text-classification", model="AhmedTaha012/managersFeedback-V1.0.7")
|
9 |
increase_decrease_model = pipeline("text-classification", model="AhmedTaha012/nextQuarter-status-V1.1.9")
|
10 |
ner_model = pipeline("token-classification", model="AhmedTaha012/finance-ner-v0.0.9-finetuned-ner")
|