Nick Canu commited on
Commit
3bb4fa1
·
1 Parent(s): f6c89eb

fix for title gen

Browse files
Files changed (2) hide show
  1. .streamlit/config.toml +1 -1
  2. title_generator.py +1 -1
.streamlit/config.toml CHANGED
@@ -1,6 +1,6 @@
1
  [theme]
2
  primaryColor="#e76020"
3
  backgroundColor="#FDFFFC"
4
- secondaryBackgroundColor="#9dc297"
5
  textColor="#0f0f0d"
6
  font="monospace"
 
1
  [theme]
2
  primaryColor="#e76020"
3
  backgroundColor="#FDFFFC"
4
+ secondaryBackgroundColor="#6e896a"
5
  textColor="#0f0f0d"
6
  font="monospace"
title_generator.py CHANGED
@@ -86,7 +86,7 @@ class Title_Generator:
86
 
87
  reg = re.compile("("+"|".join(ex_check) + ")")
88
  step = [cand for cand in candidates[0] if not reg.search(cand)]
89
- candidates = (step,candidates)
90
 
91
  nlp=spacy.load("en_core_web_md")
92
 
 
86
 
87
  reg = re.compile("("+"|".join(ex_check) + ")")
88
  step = [cand for cand in candidates[0] if not reg.search(cand)]
89
+ candidates = (step,candidates[1])
90
 
91
  nlp=spacy.load("en_core_web_md")
92