Gregniuki commited on
Commit
b28bd1a
·
1 Parent(s): 4f0eb11

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.value
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")