Spaces:
Runtime error
Runtime error
fix progress bar again
Browse files
app.py
CHANGED
@@ -110,5 +110,6 @@ 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 |
-
|
|
|
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 |
+
files_done = i+1
|
114 |
+
my_bar.progress(files_done/uploaded_files_count)
|
115 |
st.write(results)
|