Spaces:
Runtime error
Runtime error
updated requirements
Browse files- app.py +1 -0
- requirements.txt +1 -0
app.py
CHANGED
@@ -21,6 +21,7 @@ def process_speech(audio):
|
|
21 |
"""
|
22 |
processing sound using seamless_m4t
|
23 |
"""
|
|
|
24 |
audio_name = f"{np.random.randint(0, 100)}.wav"
|
25 |
sr, data = audio
|
26 |
write(audio_name, sr, data.astype(np.int16))
|
|
|
21 |
"""
|
22 |
processing sound using seamless_m4t
|
23 |
"""
|
24 |
+
print("running audio ... \n audio_value is", audio)
|
25 |
audio_name = f"{np.random.randint(0, 100)}.wav"
|
26 |
sr, data = audio
|
27 |
write(audio_name, sr, data.astype(np.int16))
|
requirements.txt
CHANGED
@@ -6,3 +6,4 @@ sentencepiece
|
|
6 |
python-dotenv
|
7 |
Pillow
|
8 |
scipy
|
|
|
|
6 |
python-dotenv
|
7 |
Pillow
|
8 |
scipy
|
9 |
+
openai
|