RexChan commited on
Commit
99f8d3b
1 Parent(s): 7d0e324

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -15,12 +15,13 @@ st.header("Cantonese Song Sentiment Analyzer")
15
  input_file = st.file_uploader("upload a song in mp3 format", type="mp3") # upload song
16
  if input_file is not None:
17
  st.write("File uploaded successfully!")
 
18
  else:
19
  st.write("No file uploaded.")
20
  button_click = st.button("Run Analysis", type="primary")
21
 
22
  # load song
23
- output_file = "/ISOM5240_Group25/"
24
 
25
  # preprocess and crop audio file
26
  def audio_preprocess():
 
15
  input_file = st.file_uploader("upload a song in mp3 format", type="mp3") # upload song
16
  if input_file is not None:
17
  st.write("File uploaded successfully!")
18
+ st.write(input_file)
19
  else:
20
  st.write("No file uploaded.")
21
  button_click = st.button("Run Analysis", type="primary")
22
 
23
  # load song
24
+ output_file = ""
25
 
26
  # preprocess and crop audio file
27
  def audio_preprocess():