Spaces:
Build error
Build error
Исправлен вывод.
Browse files
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(
|
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.")
|