Spaces:
Runtime error
Runtime error
marcelomoreno26
commited on
Commit
•
4710799
1
Parent(s):
3407050
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")
|