Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import nemo.collections.asr as nemo_asr
|
|
| 3 |
|
| 4 |
def transcribe(audio):
|
| 5 |
tr = model.transcribe([audio],channel_selector=0)
|
| 6 |
-
transcription = tr[0]
|
| 7 |
return transcription
|
| 8 |
|
| 9 |
model_name = "stt_eu_conformer_transducer_large.nemo"
|
|
|
|
| 3 |
|
| 4 |
def transcribe(audio):
|
| 5 |
tr = model.transcribe([audio],channel_selector=0)
|
| 6 |
+
transcription = tr[0].text
|
| 7 |
return transcription
|
| 8 |
|
| 9 |
model_name = "stt_eu_conformer_transducer_large.nemo"
|