egumasa commited on
Commit
7b17e36
·
1 Parent(s): fb446b6
Files changed (2) hide show
  1. demo.py +3 -2
  2. requirements.txt +3 -3
demo.py CHANGED
@@ -282,13 +282,14 @@ visualize_spans(
282
  "PRONOUNCE": "#92a8d1",
283
  "ENDORSE": "#034f84",
284
  "CITATION": "#b2b2b2",
285
- "MONOGLOSS": "#3e4444",
286
  "ATTRIBUTE": "#f7786b",
287
  "ATTRIBUTION": "#f7786b",
288
  "PROCLAIM": "#92a8d1",
289
  "CITATION": "#F8C471",
290
  "SOURCES": "#F7DC6F",
291
- "JUSTIFYING": "#2ECC71"
 
292
  },
293
  },
294
  simple = True
 
282
  "PRONOUNCE": "#92a8d1",
283
  "ENDORSE": "#034f84",
284
  "CITATION": "#b2b2b2",
285
+ # "MONOGLOSS": "#3e4444",
286
  "ATTRIBUTE": "#f7786b",
287
  "ATTRIBUTION": "#f7786b",
288
  "PROCLAIM": "#92a8d1",
289
  "CITATION": "#F8C471",
290
  "SOURCES": "#F7DC6F",
291
+ "JUSTIFYING": "#2ECC71",
292
+ "ENDOPHORIC": "#FAD7A0"
293
  },
294
  },
295
  simple = True
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
  spacy-streamlit==1.0.6
2
- spacy>3.4.4
3
  scikit-bio==0.5.8
4
  # pip==23.3.1
5
  # setuptools
@@ -16,5 +16,5 @@ scikit-bio==0.5.8
16
  # https://huggingface.co/egumasa/en_engagement_spl_RoBERTa_acad2/resolve/main/en_engagement_spl_RoBERTa_acad2-any-py3-none-any.whl
17
  # https://huggingface.co/egumasa/en_engagement_spl_RoBERTa_acad2/resolve/main/en_engagement_spl_RoBERTa_acad2-any-py3-none-any.whl
18
 
19
- # https://huggingface.co/egumasa/en_engagement_LSTM/resolve/main/en_engagement_LSTM-any-py3-none-any.whl #This is the best in 2023
20
- https://huggingface.co/egumasa/en_engagement_spl_RoBERTa_base_attention/resolve/main/en_engagement_spl_RoBERTa_base_attention-any-py3-none-any.whl
 
1
  spacy-streamlit==1.0.6
2
+ spacy==3.4.4
3
  scikit-bio==0.5.8
4
  # pip==23.3.1
5
  # setuptools
 
16
  # https://huggingface.co/egumasa/en_engagement_spl_RoBERTa_acad2/resolve/main/en_engagement_spl_RoBERTa_acad2-any-py3-none-any.whl
17
  # https://huggingface.co/egumasa/en_engagement_spl_RoBERTa_acad2/resolve/main/en_engagement_spl_RoBERTa_acad2-any-py3-none-any.whl
18
 
19
+ https://huggingface.co/egumasa/en_engagement_LSTM/resolve/main/en_engagement_LSTM-any-py3-none-any.whl #This is the best in 2023
20
+ # https://huggingface.co/egumasa/en_engagement_spl_RoBERTa_base_attention/resolve/main/en_engagement_spl_RoBERTa_base_attention-any-py3-none-any.whl