Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
@@ -158,6 +158,8 @@ def normalise_prompt (prompt):
|
|
158 |
# tokens = [spell.correction(word) for word in tokens]
|
159 |
# Join tokens back to sentence
|
160 |
normalized_prompt = ' '.join(tokens)
|
|
|
|
|
161 |
return normalized_prompt
|
162 |
|
163 |
##################################################
|
|
|
158 |
# tokens = [spell.correction(word) for word in tokens]
|
159 |
# Join tokens back to sentence
|
160 |
normalized_prompt = ' '.join(tokens)
|
161 |
+
print("normaiserd prompt..................................")
|
162 |
+
print(normalized_prompt)
|
163 |
return normalized_prompt
|
164 |
|
165 |
##################################################
|