Hellisotherpeople commited on
Commit
c080e20
·
1 Parent(s): 9fd2abf

small fixes

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ st.set_page_config(page_title="KeyBERT")
9
 
10
  st.title("HF-KeyBERT A front end for KeyBERT")
11
  st.caption("By Allen Roush")
12
- st.caption("github: https://github.com/Hellisotherpeople/CX_DB8")
13
  st.caption("Linkedin: https://www.linkedin.com/in/allen-roush-27721011b/")
14
  st.header("KeyBERT")
15
  st.caption("By Maarten Grootendorst")
@@ -69,7 +69,7 @@ form2.header("KeyBERT Settings")
69
  keyphrase_min = form2.number_input("KeyPhrase ngram range minimum", value = 1, min_value = 1)
70
  keyphrase_max = form2.number_input("KeyPhrase ngram range maximum", value = 2, min_value = 1)
71
  form2.caption("Use the keyphrase min and max to set the length of the resulting keywords/keyphrases")
72
- use_maxsum = form2.checkbox("Max Sum Similarity?", value = False)
73
  form2.caption("Max sum modifies the keyphrase algorithm in the following way: we take the 2 x top_n most similar words/phrases to the document. Then, we take all top_n combinations from the 2 x top_n words and extract the combination that are the least similar to each other by cosine similarity.")
74
  nr_candidates = form2.number_input("Enter the number of candidates to consider if maxsum is True", value = 10)
75
  form2.caption("Only meaningful if Max Sum Similarity is selected")
 
9
 
10
  st.title("HF-KeyBERT A front end for KeyBERT")
11
  st.caption("By Allen Roush")
12
+ st.caption("github: https://github.com/Hellisotherpeople")
13
  st.caption("Linkedin: https://www.linkedin.com/in/allen-roush-27721011b/")
14
  st.header("KeyBERT")
15
  st.caption("By Maarten Grootendorst")
 
69
  keyphrase_min = form2.number_input("KeyPhrase ngram range minimum", value = 1, min_value = 1)
70
  keyphrase_max = form2.number_input("KeyPhrase ngram range maximum", value = 2, min_value = 1)
71
  form2.caption("Use the keyphrase min and max to set the length of the resulting keywords/keyphrases")
72
+ use_maxsum = form2.checkbox("Use Max Sum Similarity?", value = False)
73
  form2.caption("Max sum modifies the keyphrase algorithm in the following way: we take the 2 x top_n most similar words/phrases to the document. Then, we take all top_n combinations from the 2 x top_n words and extract the combination that are the least similar to each other by cosine similarity.")
74
  nr_candidates = form2.number_input("Enter the number of candidates to consider if maxsum is True", value = 10)
75
  form2.caption("Only meaningful if Max Sum Similarity is selected")