lysandre HF staff commited on
Commit
630097d
1 Parent(s): acd3ca5
Files changed (2) hide show
  1. requirements.txt +0 -2
  2. text_download.py +1 -0
requirements.txt CHANGED
@@ -1,4 +1,2 @@
1
- accelerate @ git+https://github.com/huggingface/accelerate
2
  transformers @ git+https://github.com/huggingface/transformers@test_composition
3
  bs4
4
- gradio
 
 
1
  transformers @ git+https://github.com/huggingface/transformers@test_composition
2
  bs4
 
text_download.py CHANGED
@@ -14,6 +14,7 @@ class TextDownloadTool(Tool):
14
 
15
  inputs = ['text']
16
  outputs = ['text']
 
17
 
18
  def __call__(self, url):
19
  return BeautifulSoup(requests.get(url).text, features="html.parser").get_text()
 
14
 
15
  inputs = ['text']
16
  outputs = ['text']
17
+ description = TEXT_DOWNLOAD_DESCRIPTION
18
 
19
  def __call__(self, url):
20
  return BeautifulSoup(requests.get(url).text, features="html.parser").get_text()