RexChan commited on
Commit
98c5621
·
verified ·
1 Parent(s): c6cd1c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -155,7 +155,7 @@ if __name__ == '__main__':
155
  st.set_page_config(page_title="Sentiment Analysis on Your Cantonese Song",)
156
  st.header("Cantonese Song Sentiment Analyzer")
157
 
158
- input_file = "test1.mp3"
159
  #input_file = st.file_uploader("upload a song in mp3 format", type="mp3") # upload song
160
 
161
  if input_file is not None:
 
155
  st.set_page_config(page_title="Sentiment Analysis on Your Cantonese Song",)
156
  st.header("Cantonese Song Sentiment Analyzer")
157
 
158
+ input_file = os.path.isfile("test1.mp3")
159
  #input_file = st.file_uploader("upload a song in mp3 format", type="mp3") # upload song
160
 
161
  if input_file is not None: