Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
e8ace30
1
Parent(s):
c8a7649
fix
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ def asr_inference(audio_file):
|
|
| 39 |
#"temperature": args.temperature
|
| 40 |
}
|
| 41 |
)
|
| 42 |
-
text_output = results["text"]
|
| 43 |
return text_output
|
| 44 |
|
| 45 |
|
|
|
|
| 39 |
#"temperature": args.temperature
|
| 40 |
}
|
| 41 |
)
|
| 42 |
+
text_output = results[0]["text"]
|
| 43 |
return text_output
|
| 44 |
|
| 45 |
|