Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def load_data():
|
|
12 |
if len(row) < 5:
|
13 |
print(f"Skipping problematic line: {row}")
|
14 |
continue
|
15 |
-
orto, ppos, phon1, phon2, comm, *pronunciations = row
|
16 |
if orto == '---':
|
17 |
current_lemma = None
|
18 |
elif current_lemma is None:
|
|
|
12 |
if len(row) < 5:
|
13 |
print(f"Skipping problematic line: {row}")
|
14 |
continue
|
15 |
+
orto, ppos, phon1, phon2, comm, *pronunciations = map(lambda x: x if isinstance(x, str) else "", row)
|
16 |
if orto == '---':
|
17 |
current_lemma = None
|
18 |
elif current_lemma is None:
|