Spaces:
Running
on
Zero
Running
on
Zero
Update webui.py
Browse files
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
|