Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
ff49c86
1
Parent(s):
784e76a
fix name
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def asr_inference(audio_file):
|
|
| 21 |
return "Please upload a wav file"
|
| 22 |
batch_uttid = ["demo"]
|
| 23 |
batch_wav_path = [audio_file]
|
| 24 |
-
results =
|
| 25 |
batch_uttid,
|
| 26 |
batch_wav_path,
|
| 27 |
{
|
|
|
|
| 21 |
return "Please upload a wav file"
|
| 22 |
batch_uttid = ["demo"]
|
| 23 |
batch_wav_path = [audio_file]
|
| 24 |
+
results = asr_model_aed.transcribe(
|
| 25 |
batch_uttid,
|
| 26 |
batch_wav_path,
|
| 27 |
{
|