Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,8 @@ if submit_button and uploaded_files is not None:
|
|
86 |
predicted_ids = model.generate(input_features)
|
87 |
# decode token ids to text
|
88 |
transcription = processor.batch_decode(predicted_ids, skip_special_tokens=True)
|
89 |
-
|
|
|
90 |
# print(waveform, sampling_rate)
|
91 |
# Run transcription function and display
|
92 |
# import pdb;pdb.set_trace()
|
|
|
86 |
predicted_ids = model.generate(input_features)
|
87 |
# decode token ids to text
|
88 |
transcription = processor.batch_decode(predicted_ids, skip_special_tokens=True)
|
89 |
+
for i in range(len(transcription)):
|
90 |
+
st.write(transcription[i])
|
91 |
# print(waveform, sampling_rate)
|
92 |
# Run transcription function and display
|
93 |
# import pdb;pdb.set_trace()
|