Spaces:
Runtime error
Runtime error
debugging audio
Browse files
app.py
CHANGED
@@ -23,6 +23,8 @@ def process_speech(audio):
|
|
23 |
"""
|
24 |
processing sound using seamless_m4t
|
25 |
"""
|
|
|
|
|
26 |
audio_name = f"{np.random.randint(0, 100)}.wav"
|
27 |
sr, data = audio
|
28 |
write(audio_name, sr, data.astype(np.int16))
|
|
|
23 |
"""
|
24 |
processing sound using seamless_m4t
|
25 |
"""
|
26 |
+
print(f"audio : {audio}")
|
27 |
+
print(f"audio type : {type(audio)}")
|
28 |
audio_name = f"{np.random.randint(0, 100)}.wav"
|
29 |
sr, data = audio
|
30 |
write(audio_name, sr, data.astype(np.int16))
|