Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -139,7 +139,7 @@ def get_all_phases_containing_tar_wrd(target_word, tar_passage, left_margin = 10
|
|
139 |
## join the sentences for each of the target phrase and return it
|
140 |
result = [''.join([x.replace("Y","")+' ' for x in con_sub]) for con_sub in concordance_txt][:-1]
|
141 |
result=result[:numLins+1]
|
142 |
-
res='\n'.join(result)
|
143 |
return res
|
144 |
|
145 |
|
|
|
139 |
## join the sentences for each of the target phrase and return it
|
140 |
result = [''.join([x.replace("Y","")+' ' for x in con_sub]) for con_sub in concordance_txt][:-1]
|
141 |
result=result[:numLins+1]
|
142 |
+
res='\n\n*'.join(result)
|
143 |
return res
|
144 |
|
145 |
|