tanbw commited on
Commit
c713070
1 Parent(s): 93215c8

Update webui.py

Browse files
Files changed (1) hide show
  1. webui.py +1 -1
webui.py CHANGED
@@ -60,7 +60,7 @@ def postprocess(speech, top_db=60, hop_length=220, win_length=440):
60
  def change_instruction(mode_checkbox_group):
61
  return instruct_dict[mode_checkbox_group]
62
 
63
- @spaces.GPU
64
  def generate_audio(tts_text, mode_checkbox_group, sft_dropdown, prompt_text, prompt_wav_upload, prompt_wav_record, instruct_text,
65
  seed, stream, speed):
66
  stream=False
 
60
  def change_instruction(mode_checkbox_group):
61
  return instruct_dict[mode_checkbox_group]
62
 
63
+ @spaces.GPU(duration=300)
64
  def generate_audio(tts_text, mode_checkbox_group, sft_dropdown, prompt_text, prompt_wav_upload, prompt_wav_record, instruct_text,
65
  seed, stream, speed):
66
  stream=False