nikkmitra commited on
Commit
7e4b5db
·
verified ·
1 Parent(s): a4f7fa8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ celebrity_voices = {
21
  "Scarlett Johansson": "path/to/scarlett_johansson_sample.wav",
22
  "David Attenborough": "path/to/david_attenborough_sample.wav",
23
  }
24
- @spaces.GPU(enable_queue=True)
25
  def tts_generate(text, voice, language):
26
  with tempfile.NamedTemporaryFile(delete=False, suffix=".wav") as temp_audio:
27
  temp_audio_path = temp_audio.name
 
21
  "Scarlett Johansson": "path/to/scarlett_johansson_sample.wav",
22
  "David Attenborough": "path/to/david_attenborough_sample.wav",
23
  }
24
+ @spaces.GPU(duration=120)
25
  def tts_generate(text, voice, language):
26
  with tempfile.NamedTemporaryFile(delete=False, suffix=".wav") as temp_audio:
27
  temp_audio_path = temp_audio.name