egumasa commited on
Commit
99332ef
1 Parent(s): 7b17e36
demo.py CHANGED
@@ -33,8 +33,8 @@ st.set_page_config(page_title="ENGAGEMENT analyzer (beta ver 0.3)",
33
  @st.cache(allow_output_mutation=True)
34
  def load_model():
35
  # nlp = spacy.load("en_engagement_RoBERTa_context_flz")
36
- # nlp = spacy.load("en_engagement_LSTM")
37
- nlp = spacy.load("en_engagement_spl_RoBERTa_base_attention")
38
  return (nlp)
39
 
40
 
 
33
  @st.cache(allow_output_mutation=True)
34
  def load_model():
35
  # nlp = spacy.load("en_engagement_RoBERTa_context_flz")
36
+ nlp = spacy.load("en_engagement_LSTM")
37
+ # nlp = spacy.load("en_engagement_spl_RoBERTa_base_attention")
38
  return (nlp)
39
 
40
 
resources/__pycache__/colors.cpython-39.pyc CHANGED
Binary files a/resources/__pycache__/colors.cpython-39.pyc and b/resources/__pycache__/colors.cpython-39.pyc differ
 
resources/colors.py CHANGED
@@ -5,9 +5,12 @@ COLORS_1 = {
5
  "PRONOUNCE": "#92a8d1",
6
  "ENDORSE": "#034f84",
7
  "CITATION": "#b2b2b2",
8
- "MONOGLOSS": "#3e4444",
9
  "ATTRIBUTE": "#f7786b",
10
  "ATTRIBUTION": "#f7786b",
11
- "PROCLAIM": "#92a8d1"
 
 
 
12
  }
13
 
 
5
  "PRONOUNCE": "#92a8d1",
6
  "ENDORSE": "#034f84",
7
  "CITATION": "#b2b2b2",
8
+ # "MONOGLOSS": "#3e4444",
9
  "ATTRIBUTE": "#f7786b",
10
  "ATTRIBUTION": "#f7786b",
11
+ "PROCLAIM": "#92a8d1",
12
+ "ENDOPHORIC": "#FAD7A0",
13
+ "SOURCES": "#F9E79F"
14
+
15
  }
16