lonelygo commited on
Commit
244b361
Β·
verified Β·
1 Parent(s): 4bead6e

Update webui.py

Browse files
Files changed (1) hide show
  1. webui.py +1 -1
webui.py CHANGED
@@ -23,7 +23,7 @@ tts = IndexTTS(model_dir="checkpoints", cfg_path="checkpoints/config.yaml")
23
  os.makedirs("outputs/tasks",exist_ok=True)
24
  os.makedirs("prompts",exist_ok=True)
25
 
26
- @spaces.GPU
27
  def infer(voice, text,output_path=None):
28
  if not tts:
29
  raise Exception("Model not loaded")
 
23
  os.makedirs("outputs/tasks",exist_ok=True)
24
  os.makedirs("prompts",exist_ok=True)
25
 
26
+ @spaces
27
  def infer(voice, text,output_path=None):
28
  if not tts:
29
  raise Exception("Model not loaded")