Chris4K commited on
Commit
9a4f34b
1 Parent(s): 3261f24

Update textify_text.py

Browse files
Files changed (1) hide show
  1. 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 f"{docx.text}"
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