Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -112,7 +112,8 @@ def run_tts(text, ref_embs):
|
|
| 112 |
return (sr, wav)
|
| 113 |
else:
|
| 114 |
raise Exception("No audio output")
|
| 115 |
-
|
|
|
|
| 116 |
def run_asr(audio):
|
| 117 |
formated_history = {
|
| 118 |
"instruction": "",
|
|
|
|
| 112 |
return (sr, wav)
|
| 113 |
else:
|
| 114 |
raise Exception("No audio output")
|
| 115 |
+
|
| 116 |
+
@spaces.GPU
|
| 117 |
def run_asr(audio):
|
| 118 |
formated_history = {
|
| 119 |
"instruction": "",
|