Yassmen commited on
Commit
18c588a
·
verified ·
1 Parent(s): 2f62e1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 hc.HyLoader('✨ Your music is now under processing ✨', hc.Loaders.standard_loaders, index=[3, 0, 5]):
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)