CocoBro commited on
Commit
d706e80
·
1 Parent(s): b97635b
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -313,18 +313,11 @@ def build_demo():
313
  examples=[
314
  # 示例 1 (原本的)
315
  ["./Ym8O802VvJes.wav", "Mix in dog barking around the middle."],
316
-
317
- # 示例 2 (新加的)
318
  ["./YDKM2KjNkX18.wav", "Incorporate Telephone bell ringing into the background."],
319
-
320
- # 示例 3 (新加的)
321
  ["./drop_audiocaps_1.wav", "Remove the sound of several beeps."],
322
-
323
- # 示例 4 (新加的)
324
  ["./reorder_audiocaps_1.wav", "Switch the positions of the woman's voice and whistling."]
325
  ],
326
- inputs=[audio_in, caption], # 对应上面列表的顺序:第一个是 Audio,第二个是 Textbox
327
- cache_examples=False, # ZeroGPU 环境建议设为 False,避免启动时耗时计算
328
  )
329
  with gr.Row():
330
  num_steps = gr.Slider(10, 100, 50, step=1, label="Steps")
 
313
  examples=[
314
  # 示例 1 (原本的)
315
  ["./Ym8O802VvJes.wav", "Mix in dog barking around the middle."],
 
 
316
  ["./YDKM2KjNkX18.wav", "Incorporate Telephone bell ringing into the background."],
 
 
317
  ["./drop_audiocaps_1.wav", "Remove the sound of several beeps."],
 
 
318
  ["./reorder_audiocaps_1.wav", "Switch the positions of the woman's voice and whistling."]
319
  ],
320
+ inputs=[audio_in, caption], # 对应上面列表的顺序:第一个是 Audio,第二个是 Textbox
 
321
  )
322
  with gr.Row():
323
  num_steps = gr.Slider(10, 100, 50, step=1, label="Steps")