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