willsh1997 commited on
Commit
6cf6b9d
·
verified ·
1 Parent(s): 66a33c4

Update kokoro_support.py

Browse files
Files changed (1) hide show
  1. kokoro_support.py +1 -0
kokoro_support.py CHANGED
@@ -15,6 +15,7 @@ def initialise_models():
15
 
16
  model, pipeline = initialise_models()
17
 
 
18
  def generate_tts(text, voice='af_heart', speed=1):
19
  pack = pipeline.load_voice(voice)
20
  audio_chunks = []
 
15
 
16
  model, pipeline = initialise_models()
17
 
18
+ @spaces.GPU
19
  def generate_tts(text, voice='af_heart', speed=1):
20
  pack = pipeline.load_voice(voice)
21
  audio_chunks = []