Skip to content

Commit aed8e1f

Browse files
authored
Merge pull request #588 from daniels290813/news_nlp_fix
[news-article-nlp] add lxml package installation
2 parents e2cfc03 + ab24756 commit aed8e1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

news-article-nlp/news_article_nlp.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"metadata": {},
3232
"outputs": [],
3333
"source": [
34-
"!pip install transformers==4.11.3 newspaper3k==0.2.8 keybert~=0.7.0"
34+
"!pip install transformers==4.11.3 newspaper3k==0.2.8 keybert~=0.7.0 lxml_html_clean~=0.1.1"
3535
]
3636
},
3737
{
@@ -81,7 +81,7 @@
8181
"fn.spec.min_replicas = 1\n",
8282
"fn.spec.max_replicas = 1\n",
8383
"fn.spec.build.commands = [\n",
84-
" \"python -m pip install transformers==4.11.3 newspaper3k==0.2.8 keybert~=0.7.0\",\n",
84+
" \"python -m pip install transformers==4.11.3 newspaper3k==0.2.8 keybert~=0.7.0 lxml_html_clean~=0.1.1\",\n",
8585
" \"python -c 'from transformers import pipeline; pipeline(\\\"summarization\\\")'\",\n",
8686
" \"python -c 'from keybert import KeyBERT; KeyBERT()'\"\n",
8787
"]\n",

0 commit comments

Comments
 (0)