Spaces:
Sleeping
Sleeping
Anis Taluqdar commited on
Commit ·
1f6c6b2
1
Parent(s): c83c82c
updated
Browse files
app.py
CHANGED
|
@@ -124,9 +124,8 @@ def main_func(sentence):
|
|
| 124 |
sentence = sentence.lower()
|
| 125 |
removed_dont = transform_contractions(sentence)
|
| 126 |
if len(removed_dont) != len(sentence):
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
else:
|
| 131 |
removed_no_sentence = remove_no_not(sentence)
|
| 132 |
# print(removed_no_sentence)
|
|
|
|
| 124 |
sentence = sentence.lower()
|
| 125 |
removed_dont = transform_contractions(sentence)
|
| 126 |
if len(removed_dont) != len(sentence):
|
| 127 |
+
|
| 128 |
+
return removed_dont
|
|
|
|
| 129 |
else:
|
| 130 |
removed_no_sentence = remove_no_not(sentence)
|
| 131 |
# print(removed_no_sentence)
|