ladapetrushenko commited on
Commit
9e2d1d3
·
1 Parent(s): 4599208

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -2,17 +2,14 @@ import streamlit as st
2
  from construction_prediction.constants import load_w2v
3
  from construction_prediction.construction_calculator import get_collocates_for_word_type
4
 
5
- st.title('Construction Prediction')
6
  form = st.form('Form')
7
  target_word = form.text_input(label='Input the target word:',
8
  placeholder='Input the target word',
9
  label_visibility='collapsed'
10
  )
11
  target_word_pos = form.selectbox(label='Specify the part of speech for the target word:',
12
- options=['ADJ', 'ADVB', 'COMP', 'CONJ', 'GRND',
13
- 'INFN', 'INTJ', 'NOUN', 'NPRO', 'NUMR',
14
- 'None', 'PRCL', 'PRED', 'PREP', 'PRTF',
15
- 'PRTS', 'VERB'],
16
  index=None,
17
  placeholder='Specify the part of speech for the target word',
18
  label_visibility='collapsed'
 
2
  from construction_prediction.constants import load_w2v
3
  from construction_prediction.construction_calculator import get_collocates_for_word_type
4
 
5
+ st.title('Construction Calculator')
6
  form = st.form('Form')
7
  target_word = form.text_input(label='Input the target word:',
8
  placeholder='Input the target word',
9
  label_visibility='collapsed'
10
  )
11
  target_word_pos = form.selectbox(label='Specify the part of speech for the target word:',
12
+ options=['ADJ', 'NOUN'],
 
 
 
13
  index=None,
14
  placeholder='Specify the part of speech for the target word',
15
  label_visibility='collapsed'