init
Browse files- download_audio.py +1 -1
download_audio.py
CHANGED
@@ -63,7 +63,7 @@ def get_metadata():
|
|
63 |
df.columns = ["id", "url", "text_lid_score", "laser_score", "direction", "side", "line_no"]
|
64 |
assert len(df["direction"].unique()) == 1
|
65 |
df.pop("direction")
|
66 |
-
return df.sort_values(by=["line_no", "side"
|
67 |
|
68 |
|
69 |
def get_audio(dataframe: pd.DataFrame):
|
|
|
63 |
df.columns = ["id", "url", "text_lid_score", "laser_score", "direction", "side", "line_no"]
|
64 |
assert len(df["direction"].unique()) == 1
|
65 |
df.pop("direction")
|
66 |
+
return df.sort_values(by=["line_no", "side"])
|
67 |
|
68 |
|
69 |
def get_audio(dataframe: pd.DataFrame):
|