mubashiralli commited on
Commit
38546ed
1 Parent(s): 525c6da

adding link button

Browse files
Files changed (1) hide show
  1. app.py +1 -14
app.py CHANGED
@@ -124,17 +124,4 @@ 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
- st.write(
128
- """
129
- <button onclick="window.location.href='https://songlabai.com/subcribe/';">
130
- Download/Save
131
- </button>
132
- """,
133
- unsafe_allow_html=True
134
- )
135
- # if st.button("Download/Save", key='redirect_button'):
136
- # st.markdown("""
137
- # <script>
138
- # window.parent.location.href = 'https://songlabai.com/subcribe/';
139
- # </script>
140
- # """, 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.link_button("Download/Save", "https://songlabai.com/subcribe/")