vanessbut commited on
Commit
05b2452
·
1 Parent(s): b33a613

Исправлен вывод.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ text = title + abstract
41
 
42
  if not text is None and len(text) > 0:
43
  #keywords = get_candidates(text, main_nlp)
44
- keywords = get_keywords(summaries[0], main_nlp, main_model, main_tokenizer)
45
  st.markdown(f"{keywords}")
46
  else:
47
  st.markdown("Please, try to enter something.")
 
41
 
42
  if not text is None and len(text) > 0:
43
  #keywords = get_candidates(text, main_nlp)
44
+ keywords = get_keywords(text, main_nlp, main_model, main_tokenizer)
45
  st.markdown(f"{keywords}")
46
  else:
47
  st.markdown("Please, try to enter something.")