cdleong commited on
Commit
ac96dc0
·
1 Parent(s): 1372d96

off by one on progress bar

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,5 +110,5 @@ if __name__ == "__main__":
110
  wav_file = get_path_to_wav_format(uploaded_file, uploaded_files_count>suppress_output_threshold)
111
  result = model.recognize(wav_file, langcode)
112
  results[uploaded_file.name] = result
113
- my_bar.progress(i/uploaded_files_count)
114
  st.write(results)
 
110
  wav_file = get_path_to_wav_format(uploaded_file, uploaded_files_count>suppress_output_threshold)
111
  result = model.recognize(wav_file, langcode)
112
  results[uploaded_file.name] = result
113
+ my_bar.progress(i+1/uploaded_files_count)
114
  st.write(results)