Spaces:
Runtime error
Runtime error
Update text_download.py
Browse files- 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
|
| 16 |
-
|
| 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):
|