FrancoisHB commited on
Commit
2677543
1 Parent(s): 2540ee9

Commit Test SRT

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -55,8 +55,8 @@ if st.button("Summarize"):
55
  # Extract top 4 topics
56
  top_topics = extract_top_topics(text_to_summarize, 4)
57
  # Display top 4 topics
58
- st.subheader("Top 4 Topics:")
59
- for topic in top_topics:
60
  st.write(f"- {topic}")
61
  else:
62
  st.warning("Please enter some SRT-formatted text.")
 
55
  # Extract top 4 topics
56
  top_topics = extract_top_topics(text_to_summarize, 4)
57
  # Display top 4 topics
58
+ st.subheader("Top 4 Keywords:")
59
+ for topic, _ in top_topics:
60
  st.write(f"- {topic}")
61
  else:
62
  st.warning("Please enter some SRT-formatted text.")