Spaces:
Configuration error
Configuration error
fix "enabled" issue
Browse files
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('
|
|
|
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=[])
|