Spaces:
Runtime error
Runtime error
off by one on progress bar
Browse files
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)
|