7H4M3R commited on
Commit
d906e11
·
verified ·
1 Parent(s): 61bf2df

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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"][:250].to_list()))[0]
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',