Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -43,8 +43,8 @@ if st.sidebar.button('Generate My Music'):
|
|
43 |
if len_notes:
|
44 |
with st.container():
|
45 |
st.write("---")
|
46 |
-
with
|
47 |
-
time.sleep(10)
|
48 |
generate(10, len_notes)
|
49 |
|
50 |
fs = FluidSynth('font.sf2', sample_rate=44100)
|
|
|
43 |
if len_notes:
|
44 |
with st.container():
|
45 |
st.write("---")
|
46 |
+
with st.spinner('✨ Your music is now under processing... ✨'):
|
47 |
+
time.sleep(10) # Simulate processing time
|
48 |
generate(10, len_notes)
|
49 |
|
50 |
fs = FluidSynth('font.sf2', sample_rate=44100)
|