Update textify_text.py
Browse files- textify_text.py +2 -1
textify_text.py
CHANGED
|
@@ -150,8 +150,9 @@ class TextifyTextTool(Tool):
|
|
| 150 |
docx = TextCleaner()
|
| 151 |
docx.text = "your text goes here"
|
| 152 |
docx.clean_text()
|
|
|
|
| 153 |
# token = os.environ['hf']
|
| 154 |
tokenizer = AutoTokenizer.from_pretrained("lgaalves/gpt2-dolly")
|
| 155 |
tokens = tokenizer(prompt)["input_ids"]
|
| 156 |
-
return
|
| 157 |
|
|
|
|
| 150 |
docx = TextCleaner()
|
| 151 |
docx.text = "your text goes here"
|
| 152 |
docx.clean_text()
|
| 153 |
+
print(docx)
|
| 154 |
# token = os.environ['hf']
|
| 155 |
tokenizer = AutoTokenizer.from_pretrained("lgaalves/gpt2-dolly")
|
| 156 |
tokens = tokenizer(prompt)["input_ids"]
|
| 157 |
+
return docx.text
|
| 158 |
|