Spaces:
Runtime error
Runtime error
matias
commited on
Commit
•
a665630
1
Parent(s):
17bdca8
fixed audio output
Browse files
app.py
CHANGED
@@ -24,8 +24,8 @@ def generate_sound(text):
|
|
24 |
num_inference_steps=25,
|
25 |
audio_length_in_s=5,
|
26 |
negative_prompt = "low quality, average quality").audios
|
27 |
-
rate =
|
28 |
-
return rate,
|
29 |
#return gr.make_waveform((rate, waveforms[0]))
|
30 |
|
31 |
def translate_text(text):
|
|
|
24 |
num_inference_steps=25,
|
25 |
audio_length_in_s=5,
|
26 |
negative_prompt = "low quality, average quality").audios
|
27 |
+
rate =16000
|
28 |
+
return rate, waveforms[0]
|
29 |
#return gr.make_waveform((rate, waveforms[0]))
|
30 |
|
31 |
def translate_text(text):
|