Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def transcribe(audio_path):
|
|
| 17 |
wav_path = convert_audio_to_wav(audio_path)
|
| 18 |
result = asr(wav_path)
|
| 19 |
os.remove(wav_path)
|
| 20 |
-
return result[
|
| 21 |
|
| 22 |
# Gradio interface (DO NOT use share=True)
|
| 23 |
demo = gr.Interface(
|
|
|
|
| 17 |
wav_path = convert_audio_to_wav(audio_path)
|
| 18 |
result = asr(wav_path)
|
| 19 |
os.remove(wav_path)
|
| 20 |
+
return result[0]
|
| 21 |
|
| 22 |
# Gradio interface (DO NOT use share=True)
|
| 23 |
demo = gr.Interface(
|