Spaces:
Sleeping
Sleeping
GuysRGithub
commited on
Commit
•
0f0bc95
1
Parent(s):
0279f99
Update
Browse files
app.py
CHANGED
@@ -148,10 +148,9 @@ def post_process(output):
|
|
148 |
|
149 |
# output = textwrap.fill(textwrap.dedent(output).strip(), width=120)
|
150 |
lines = output.split(".")
|
151 |
-
# print(lines)
|
152 |
for line in lines:
|
153 |
for word in word_remove_sentence:
|
154 |
-
if word in line.lower():
|
155 |
lines.remove(line)
|
156 |
break
|
157 |
|
|
|
148 |
|
149 |
# output = textwrap.fill(textwrap.dedent(output).strip(), width=120)
|
150 |
lines = output.split(".")
|
|
|
151 |
for line in lines:
|
152 |
for word in word_remove_sentence:
|
153 |
+
if word.lower() in line.lower():
|
154 |
lines.remove(line)
|
155 |
break
|
156 |
|