m-ric HF staff commited on
Commit
8ac8a9e
1 Parent(s): 73e1fe9

Update text_download.py

Browse files
Files changed (1) hide show
  1. text_download.py +3 -3
text_download.py CHANGED
@@ -11,9 +11,9 @@ TEXT_DOWNLOAD_DESCRIPTION = (
11
 
12
 
13
  class TextDownloadTool(Tool):
14
-
15
- inputs = ['text']
16
- outputs = ['text']
17
  description = TEXT_DOWNLOAD_DESCRIPTION
18
 
19
  def __call__(self, url):
 
11
 
12
 
13
  class TextDownloadTool(Tool):
14
+ name = "text_downloader"
15
+ inputs= {"url": str}
16
+ output_type= str
17
  description = TEXT_DOWNLOAD_DESCRIPTION
18
 
19
  def __call__(self, url):