Spaces:
Configuration error
Configuration error
Kangarroar
commited on
Commit
·
65b6b11
1
Parent(s):
276eaba
Update app.py
Browse files
app.py
CHANGED
@@ -50,6 +50,13 @@ def render_audio(ckpt_temp_file, config_temp_file, audio_temp_file, title):
|
|
50 |
# 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
|
51 |
st.audio(wav_gen)
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
st.title('DIFF-SVC Render')
|
54 |
|
55 |
###CKPT LOADER
|
@@ -113,4 +120,4 @@ if "audio_temp_file" in locals():
|
|
113 |
title = st.text_input("Key", value="0")
|
114 |
# Add a button to start the rendering process
|
115 |
if st.button("Render audio"):
|
116 |
-
render_audio(ckpt_temp_file, config_temp_file, audio_temp_file, title)
|
|
|
50 |
# 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
|
51 |
st.audio(wav_gen)
|
52 |
|
53 |
+
#######################################################
|
54 |
+
st.set_page_config(
|
55 |
+
page_title="DiffSVC Render",
|
56 |
+
page_icon="🧊",
|
57 |
+
initial_sidebar_state="expanded",
|
58 |
+
)
|
59 |
+
############
|
60 |
st.title('DIFF-SVC Render')
|
61 |
|
62 |
###CKPT LOADER
|
|
|
120 |
title = st.text_input("Key", value="0")
|
121 |
# Add a button to start the rendering process
|
122 |
if st.button("Render audio"):
|
123 |
+
render_audio(ckpt_temp_file, config_temp_file, audio_temp_file, title)
|