Spaces:
Sleeping
Sleeping
sami606713
commited on
Commit
•
580fce2
1
Parent(s):
8ebc6c3
Update utils.py
Browse files
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 |
-
|
|
|
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
|