marcelomoreno26 commited on
Commit
03b1205
1 Parent(s): a71fbbb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ def main():
63
  # Perform analysis
64
  sentiment = get_sentiment_analysis(text_for_analysis, tokenizer_sentiment, model_sentiment)
65
  summary = generate_summary(text_for_analysis, tokenizer_summary, model_summary)
66
- ner_results = get_NER(summary, pipe_ner)
67
 
68
  # Display results
69
  st.subheader("Sentiment Analysis")
 
63
  # Perform analysis
64
  sentiment = get_sentiment_analysis(text_for_analysis, tokenizer_sentiment, model_sentiment)
65
  summary = generate_summary(text_for_analysis, tokenizer_summary, model_summary)
66
+ ner_results = get_NER(summary.title(), pipe_ner)
67
 
68
  # Display results
69
  st.subheader("Sentiment Analysis")