sami606713 commited on
Commit
580fce2
1 Parent(s): 8ebc6c3

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -29,4 +29,4 @@ def model_prediction(text):
29
  # model=load_model()
30
  # outputs = model.generate(input_ids, max_length=128)
31
  # corrected_text = tokenizer.decode(outputs[0], skip_special_tokens=True)
32
- # return corrected_text
 
29
  # model=load_model()
30
  # outputs = model.generate(input_ids, max_length=128)
31
  # corrected_text = tokenizer.decode(outputs[0], skip_special_tokens=True)
32
+ return tokenizer