Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -139,7 +139,7 @@ async def main(
|
|
139 |
# rate = speed_slider.value
|
140 |
# noise_scale = noise_scale_slider.value
|
141 |
# noise_scale_w = noise_scale_w_slider.value
|
142 |
-
auto_play = play
|
143 |
audio = inferencing(model, config, sid, text_input.value, speed_slider, noise_scale_slider, noise_scale_w_slider, auto_play)
|
144 |
temp_audio_file = tempfile.NamedTemporaryFile(delete=False, suffix=".mp3")
|
145 |
audio.export(temp_audio_file.name, format="mp3")
|
|
|
139 |
# rate = speed_slider.value
|
140 |
# noise_scale = noise_scale_slider.value
|
141 |
# noise_scale_w = noise_scale_w_slider.value
|
142 |
+
auto_play = play
|
143 |
audio = inferencing(model, config, sid, text_input.value, speed_slider, noise_scale_slider, noise_scale_w_slider, auto_play)
|
144 |
temp_audio_file = tempfile.NamedTemporaryFile(delete=False, suffix=".mp3")
|
145 |
audio.export(temp_audio_file.name, format="mp3")
|