Spaces:
Configuration error
Configuration error
Kangarroar
commited on
Commit
•
38e8c1b
1
Parent(s):
29724c7
Update app.py
Browse files
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='
|
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 |
-
|
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 |
#######################################################
|