morteza commited on
Commit
b136751
1 Parent(s): dd739a9

fix "enabled" issue

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,12 +7,12 @@ import matplotlib.pyplot as plt
7
 
8
 
9
  model_name = st.text_input('Model: ',
10
- 'metapath2vec_v1.202112011',
11
- enabled=False)
12
 
13
  model = Word2Vec.load(f'models/{model_name}.pkl')
14
 
15
- c_recommend_constructs = st.checkbox('Recommend constructs along with tasks', enabled=False)
 
16
 
17
  positive_samples = st.multiselect('Positive samples', options=model.wv.index_to_key, default=[])
18
  negative_samples = st.multiselect('Negative samples', options=model.wv.index_to_key, default=[])
 
7
 
8
 
9
  model_name = st.text_input('Model: ',
10
+ 'metapath2vec_v1.202112011')
 
11
 
12
  model = Word2Vec.load(f'models/{model_name}.pkl')
13
 
14
+ c_recommend_constructs = st.checkbox('Also recommend constructs',
15
+ help='If checked, the constructs will be recommended along with the tasks')
16
 
17
  positive_samples = st.multiselect('Positive samples', options=model.wv.index_to_key, default=[])
18
  negative_samples = st.multiselect('Negative samples', options=model.wv.index_to_key, default=[])