Kangarroar commited on
Commit
38e8c1b
1 Parent(s): 29724c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,7 +41,7 @@ def render_audio(ckpt_temp_file, config_temp_file, audio_temp_file, title):
41
  key = title # 音高调整,支持正负(半音)
42
  # 加速倍数
43
  pndm_speedup = 20
44
- wav_gen='qu.wav'#直接改后缀可以保存不同格式音频,如flac可无损压缩
45
 
46
  # Show the spinner and run the run_clip function inside the 'with' block
47
  with st.spinner("Rendering Audio..."):
@@ -49,7 +49,7 @@ def render_audio(ckpt_temp_file, config_temp_file, audio_temp_file, title):
49
  use_gt_mel=False, add_noise_step=500,project_name=project_name,out_path=wav_gen)
50
  clip_completed = True
51
  if clip_completed:
52
- # If the 'run_clip' function has completed, use the st.audio function to show an audio player for the file stored in the 'wav_gen' variable
53
  st.audio(wav_gen)
54
 
55
  #######################################################
 
41
  key = title # 音高调整,支持正负(半音)
42
  # 加速倍数
43
  pndm_speedup = 20
44
+ wav_gen='queeeeee.wav'
45
 
46
  # Show the spinner and run the run_clip function inside the 'with' block
47
  with st.spinner("Rendering Audio..."):
 
49
  use_gt_mel=False, add_noise_step=500,project_name=project_name,out_path=wav_gen)
50
  clip_completed = True
51
  if clip_completed:
52
+
53
  st.audio(wav_gen)
54
 
55
  #######################################################