Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def audio_to_text(audio):
|
|
| 31 |
audio_array = np.array(audio_data).astype(np.float32)
|
| 32 |
|
| 33 |
# Transcribe the audio input
|
| 34 |
-
transcription = pipe1(audio_array
|
| 35 |
transcription_text = transcription['text']
|
| 36 |
|
| 37 |
# Print and return the transcription text
|
|
|
|
| 31 |
audio_array = np.array(audio_data).astype(np.float32)
|
| 32 |
|
| 33 |
# Transcribe the audio input
|
| 34 |
+
transcription = pipe1(audio_array)
|
| 35 |
transcription_text = transcription['text']
|
| 36 |
|
| 37 |
# Print and return the transcription text
|