Update textify_text.py
Browse files- textify_text.py +4 -1
textify_text.py
CHANGED
|
@@ -149,7 +149,10 @@ class TextifyTextTool(Tool):
|
|
| 149 |
docx = TextCleaner()
|
| 150 |
docx.text = text
|
| 151 |
docx.clean_text()
|
|
|
|
| 152 |
print(docx)
|
|
|
|
|
|
|
| 153 |
# token = os.environ['hf']
|
| 154 |
-
return
|
| 155 |
|
|
|
|
| 149 |
docx = TextCleaner()
|
| 150 |
docx.text = text
|
| 151 |
docx.clean_text()
|
| 152 |
+
text = docx.clean_text()
|
| 153 |
print(docx)
|
| 154 |
+
print("---")
|
| 155 |
+
print(text)
|
| 156 |
# token = os.environ['hf']
|
| 157 |
+
return text
|
| 158 |
|