mubashiralli commited on
Commit
5eab3c5
1 Parent(s): e447319

fixing buttons

Browse files
Files changed (1) hide show
  1. app.py +13 -6
app.py CHANGED
@@ -124,9 +124,16 @@ if apply_stereo or reverse or change_speed or pitch_shift or add_reverb:
124
  # Play the processed audio
125
  st.audio(st_state.augmented_audio, format="audio/wav", sample_rate=sample_rate, start_time=0)
126
 
127
- if st.button("Download/Save", key='redirect_button'):
128
- st.markdown("""
129
- <script>
130
- window.parent.location.href = 'https://songlabai.com/subcribe/';
131
- </script>
132
- """, unsafe_allow_html=True)
 
 
 
 
 
 
 
 
124
  # Play the processed audio
125
  st.audio(st_state.augmented_audio, format="audio/wav", sample_rate=sample_rate, start_time=0)
126
 
127
+ st.write(
128
+ """
129
+ <button onclick="window.location.href='https://songlabai.com/subcribe/';">
130
+ Download/Save
131
+ </button>
132
+ """
133
+ )
134
+ # if st.button("Download/Save", key='redirect_button'):
135
+ # st.markdown("""
136
+ # <script>
137
+ # window.parent.location.href = 'https://songlabai.com/subcribe/';
138
+ # </script>
139
+ # """, unsafe_allow_html=True)