Thea231 commited on
Commit
94e5041
·
verified ·
1 Parent(s): 031b59f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ if st.button("Analyze Comment"):
32
  emotion_score = round(emotion_result["score"], 4)
33
 
34
  # Perform summarization
35
- summary_result = summarizer(comment_input, max_length=40, min_length=10, do_sample=False)[0]["summary_text"]
36
 
37
  # Display results
38
  st.subheader("Analysis Result")
 
32
  emotion_score = round(emotion_result["score"], 4)
33
 
34
  # Perform summarization
35
+ summary_result = summarizer(comment_input, max_length=50, min_length=10, do_sample=False)[0]["summary_text"]
36
 
37
  # Display results
38
  st.subheader("Analysis Result")