Spaces:
Running
Running
Update asr.py
Browse files
asr.py
CHANGED
|
@@ -67,7 +67,7 @@ model = Wav2Vec2ForCTC.from_pretrained(MODEL_ID)
|
|
| 67 |
# )
|
| 68 |
|
| 69 |
|
| 70 |
-
def transcribe(
|
| 71 |
|
| 72 |
if not audio_data:
|
| 73 |
return "<<ERROR: Empty Audio Input>>"
|
|
|
|
| 67 |
# )
|
| 68 |
|
| 69 |
|
| 70 |
+
def transcribe(auto_data=None, lang="eng (English)"):
|
| 71 |
|
| 72 |
if not audio_data:
|
| 73 |
return "<<ERROR: Empty Audio Input>>"
|