Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
@@ -64,7 +64,7 @@ def split_audio(file):
|
|
64 |
|
65 |
def accent_classify(pipe, audio_path):
|
66 |
audio_df = split_audio(audio_path)
|
67 |
-
return pipe(np.concatenate(audio_df["audio"][:
|
68 |
|
69 |
accent_mapping = {
|
70 |
'us': 'American',
|
|
|
64 |
|
65 |
def accent_classify(pipe, audio_path):
|
66 |
audio_df = split_audio(audio_path)
|
67 |
+
return pipe(np.concatenate(audio_df["audio"][:150].to_list()))[0]
|
68 |
|
69 |
accent_mapping = {
|
70 |
'us': 'American',
|