Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def chat_tts(text, temperature, top_P, top_K, audio_seed_input, text_seed_input,
|
|
58 |
)
|
59 |
|
60 |
audio_data = np.array(wav[0]).flatten()
|
61 |
-
sample_rate =
|
62 |
text_data = text[0] if isinstance(text, list) else text
|
63 |
|
64 |
if output_path is None:
|
|
|
58 |
)
|
59 |
|
60 |
audio_data = np.array(wav[0]).flatten()
|
61 |
+
sample_rate = 24000
|
62 |
text_data = text[0] if isinstance(text, list) else text
|
63 |
|
64 |
if output_path is None:
|