noequal commited on
Commit
1da6722
·
1 Parent(s): f9b90ad

Update text_processor.py

Browse files
Files changed (1) hide show
  1. text_processor.py +1 -0
text_processor.py CHANGED
@@ -1,3 +1,4 @@
 
1
 
2
  # Function for generating text based on input
3
  def generate_text(input_text, model, tokenizer):
 
1
+ import torch
2
 
3
  # Function for generating text based on input
4
  def generate_text(input_text, model, tokenizer):