Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|