Spaces:
Runtime error
Runtime error
transcription spinner
Browse files
app.py
CHANGED
@@ -116,7 +116,8 @@ if __name__ == "__main__":
|
|
116 |
|
117 |
if uploaded_file is not None:
|
118 |
wav_file = get_path_to_wav_format(uploaded_file, uploaded_files_count>suppress_output_threshold)
|
119 |
-
|
|
|
120 |
results[uploaded_file.name] = result
|
121 |
files_done = i+1
|
122 |
my_bar.progress(files_done/uploaded_files_count)
|
|
|
116 |
|
117 |
if uploaded_file is not None:
|
118 |
wav_file = get_path_to_wav_format(uploaded_file, uploaded_files_count>suppress_output_threshold)
|
119 |
+
with st.spinner(f"transcribing...")
|
120 |
+
result = model.recognize(wav_file, langcode)
|
121 |
results[uploaded_file.name] = result
|
122 |
files_done = i+1
|
123 |
my_bar.progress(files_done/uploaded_files_count)
|