Spaces:
Build error
Build error
Reduce GPU duration
Browse files269 unmodified lines2702712722732742752765 unmodified lines282283284285286287288168 unmodified lines457458459460461462463269 unmodified linesreturn ChatMLSample(messages=messages)@spaces.GPU(duration=500)def text_to_speech(text,voice_preset,5 unmodified linestop_k=50,system_prompt=DEFAULT_SYSTEM_PROMPT,stop_strings=None,ras_win_len=20,ras_win_max_num_repeat=2,):"""Convert text to speech using HiggsAudioServeEngine."""168 unmodified linesras_win_len = gr.Slider(minimum=0,maximum=10,value=0,step=1,label="RAS Window Length",info="Window length for repetition avoidance sampling",269 unmodified lines2702712722732742752765 unmodified lines282283284285286287288168 unmodified lines457458459460461462463269 unmodified linesreturn ChatMLSample(messages=messages)@spaces.GPU(duration=120)def text_to_speech(text,voice_preset,5 unmodified linestop_k=50,system_prompt=DEFAULT_SYSTEM_PROMPT,stop_strings=None,ras_win_len=7,ras_win_max_num_repeat=2,):"""Convert text to speech using HiggsAudioServeEngine."""168 unmodified linesras_win_len = gr.Slider(minimum=0,maximum=10,value=7,step=1,label="RAS Window Length",info="Window length for repetition avoidance sampling",
app.py+3-3