surkovvv commited on
Commit
6de5c29
1 Parent(s): be24c5d

added paths to model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ if st.button('Generate tags!'):
14
  st.write('# Please, enter title!')
15
  else:
16
  text = title + '[SEP]' + abstract
17
- model, tokenizer = load_setup(path_to_model=, path_to_vocab=)
18
  prediction = predict(model, tokenizer, text)
19
  st.markdown(f'## Predicted tag(s): {prediction}')
20
  else:
 
14
  st.write('# Please, enter title!')
15
  else:
16
  text = title + '[SEP]' + abstract
17
+ model, tokenizer = load_setup(path_to_model='distilbert1.bin', path_to_vocab='vocab_distilbert1.bin')
18
  prediction = predict(model, tokenizer, text)
19
  st.markdown(f'## Predicted tag(s): {prediction}')
20
  else: