Shad0ws commited on
Commit
0d2159e
·
1 Parent(s): 123dd76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -4,8 +4,7 @@ import regex as re
4
  import spacy
5
 
6
  st.set_page_config(
7
- page_title="Hashtag and Named Entity Generator",
8
- page_icon='🔖',
9
  layout="wide",
10
  initial_sidebar_state="expanded"
11
  )
@@ -56,7 +55,7 @@ if input_text or button_clicked:
56
  st.write(", ".join([f"{ent.text}:{ent.label_}" for ent in entities.ents if "#" not in ent.text and ent.label_ in ["PERSON", "ORG"]]))
57
  st.write("")
58
 
59
- with col1:
60
  st.write("Named Entities:")
61
  st.write("<div style='height: 400px; overflow-y: scroll;'>")
62
  for entity in entities.ents:
 
4
  import spacy
5
 
6
  st.set_page_config(
7
+ page_title="Hashtag Generator",
 
8
  layout="wide",
9
  initial_sidebar_state="expanded"
10
  )
 
55
  st.write(", ".join([f"{ent.text}:{ent.label_}" for ent in entities.ents if "#" not in ent.text and ent.label_ in ["PERSON", "ORG"]]))
56
  st.write("")
57
 
58
+
59
  st.write("Named Entities:")
60
  st.write("<div style='height: 400px; overflow-y: scroll;'>")
61
  for entity in entities.ents: