Spaces:
Runtime error
Runtime error
Commit
·
675cfe9
1
Parent(s):
dbc3922
dis_audio
Browse files
app.py
CHANGED
@@ -534,7 +534,9 @@ def chathmi2(message, history):
|
|
534 |
temp = response.split("(sandbox:/")[1] # (sandbox:/sample-20230805-0807.wav)
|
535 |
file_name = temp.split(")")[0]
|
536 |
print("file_name:", file_name)
|
537 |
-
|
|
|
|
|
538 |
except:
|
539 |
pass
|
540 |
if len(Audio_output) > 0:
|
|
|
534 |
temp = response.split("(sandbox:/")[1] # (sandbox:/sample-20230805-0807.wav)
|
535 |
file_name = temp.split(")")[0]
|
536 |
print("file_name:", file_name)
|
537 |
+
dis_audio = []
|
538 |
+
dis_audio.append(file_name)
|
539 |
+
yield dis_audio
|
540 |
except:
|
541 |
pass
|
542 |
if len(Audio_output) > 0:
|