Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ df.columns = ['ISO 639-1', 'ISO 639-2', 'Language Name', 'Native Name']
|
|
20 |
df['ISO 639-1'] = df['ISO 639-1'].str.strip()
|
21 |
|
22 |
# Prepare language options for the dropdown
|
23 |
-
language_options = [(row['ISO 639-1'], f"{row['
|
24 |
|
25 |
def format_timestamp(seconds):
|
26 |
"""Convert seconds to HH:MM:SS.mmm format."""
|
|
|
20 |
df['ISO 639-1'] = df['ISO 639-1'].str.strip()
|
21 |
|
22 |
# Prepare language options for the dropdown
|
23 |
+
language_options = [(row['ISO 639-1'], f"{row['ISO 639-1']}") for index, row in df.iterrows()]
|
24 |
|
25 |
def format_timestamp(seconds):
|
26 |
"""Convert seconds to HH:MM:SS.mmm format."""
|