miracle01 commited on
Commit
a5fdf19
·
1 Parent(s): 460ac60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -170,7 +170,7 @@ def main():
170
 
171
  st.markdown("## Upload the file")
172
  with st.container():
173
- col1, col2 = st.columns(2)
174
  # audio_file = None
175
  # path = None
176
  with col1:
@@ -229,6 +229,16 @@ def main():
229
  # time.sleep(3)
230
  # st.success("Recording completed")
231
  # st.write("Error while loading the file")
 
 
 
 
 
 
 
 
 
 
232
 
233
  if model_type == "mfccs":
234
  em3 = st.sidebar.checkbox("3 emotions", True)
 
170
 
171
  st.markdown("## Upload the file")
172
  with st.container():
173
+ col1, col2, col3 = st.columns(3)
174
  # audio_file = None
175
  # path = None
176
  with col1:
 
229
  # time.sleep(3)
230
  # st.success("Recording completed")
231
  # st.write("Error while loading the file")
232
+ with col3:
233
+ if audio_file is not None:
234
+ st.title("Convert any MP3 audio file to .WAV")
235
+ st.subheader("Convert audio file")
236
+
237
+ link = '[Theory behind - Medium article]' \
238
+ '(https://cloudconvert.com/mp3-to-wav)'
239
+ st.markdown(link, unsafe_allow_html=True)
240
+ else:
241
+ pass
242
 
243
  if model_type == "mfccs":
244
  em3 = st.sidebar.checkbox("3 emotions", True)