Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -201,7 +201,7 @@ def merge_lines(roman_file, w4w_file, full_mean_file, macaronic_file):
|
|
201 |
with open(roman_file.name, "r") as f1, open(w4w_file.name, "r") as f2, \
|
202 |
open(full_mean_file.name, "r") as f3, open(macaronic_file.name, "r") as f4:
|
203 |
for lines in zip(f1, f2, f3, f4):
|
204 |
-
merged_line = "".join(line.strip() for line in lines)
|
205 |
merged_lines.append(merged_line)
|
206 |
|
207 |
return "\n".join(merged_lines)
|
|
|
201 |
with open(roman_file.name, "r") as f1, open(w4w_file.name, "r") as f2, \
|
202 |
open(full_mean_file.name, "r") as f3, open(macaronic_file.name, "r") as f4:
|
203 |
for lines in zip(f1, f2, f3, f4):
|
204 |
+
merged_line = "\n".join(line.strip() for line in lines)
|
205 |
merged_lines.append(merged_line)
|
206 |
|
207 |
return "\n".join(merged_lines)
|