frorozcol commited on
Commit
79120f1
·
1 Parent(s): 4203015

Pushed the values

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import streamlit as st
2
  import librosa
3
  from src.preprosecing import preprosecing
4
- st.write("Clasificación de canciones")
5
  #st.set_page_config(page_title="Upload Music", page_icon=":musical_note:", layout="wide")
6
 
7
  def main():
@@ -12,8 +12,8 @@ def main():
12
  st.audio(uploaded_file, format='audio/wav')
13
  st.success("30 secs audio snippet")
14
  st.success("File uploaded successfully")
15
- st.write("This is the features from the audio")
16
- st.write(features)
17
  else:
18
  st.warning("Please upload a file of type: mp3, wav")
19
 
 
1
  import streamlit as st
2
  import librosa
3
  from src.preprosecing import preprosecing
4
+ st.write("Music Genre Classification")
5
  #st.set_page_config(page_title="Upload Music", page_icon=":musical_note:", layout="wide")
6
 
7
  def main():
 
12
  st.audio(uploaded_file, format='audio/wav')
13
  st.success("30 secs audio snippet")
14
  st.success("File uploaded successfully")
15
+ st.write(f"Predict the genre of the music: {features[0]}")
16
+ st.write("Internal classification: ", features[1])
17
  else:
18
  st.warning("Please upload a file of type: mp3, wav")
19