littlebird13 commited on
Commit
88db84a
1 Parent(s): 7db4d32

Update app.py

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