littlebird13 commited on
Commit
ca87b60
1 Parent(s): 73ba249

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ audio_mode_choices = [('预置语音生成', 'preset'), ('定制语音生成(
21
  ('高级语音生成(自然语言控制)', 'advanced')]
22
 
23
 
24
- @spaces.GPU
25
  def on_audio_mode_change(_audio_mode_radio):
26
  yield {
27
  preset_layout: gr.update(visible=_audio_mode_radio == 'preset'),
 
21
  ('高级语音生成(自然语言控制)', 'advanced')]
22
 
23
 
24
+ @spaces.GPU(duration=300)
25
  def on_audio_mode_change(_audio_mode_radio):
26
  yield {
27
  preset_layout: gr.update(visible=_audio_mode_radio == 'preset'),