Spaces:
Runtime error
Runtime error
hannahisrael03
commited on
Commit
•
2bfc835
1
Parent(s):
f17eab4
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def main():
|
|
40 |
# Perform analysis
|
41 |
sentiment = get_sentiment_analysis(text_for_analysis, tokenizer_sentiment, model_sentiment)
|
42 |
summary = generate_summary(text_for_analysis, tokenizer_summary, model_summary)
|
43 |
-
ner_results = get_NER(
|
44 |
|
45 |
# Display results
|
46 |
st.subheader("Sentiment Analysis")
|
|
|
40 |
# Perform analysis
|
41 |
sentiment = get_sentiment_analysis(text_for_analysis, tokenizer_sentiment, model_sentiment)
|
42 |
summary = generate_summary(text_for_analysis, tokenizer_summary, model_summary)
|
43 |
+
ner_results = get_NER(summary, pipe_ner)
|
44 |
|
45 |
# Display results
|
46 |
st.subheader("Sentiment Analysis")
|