Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -96,7 +96,6 @@ def main(input_file):
|
|
96 |
|
97 |
if __name__ == '__main__':
|
98 |
|
99 |
-
|
100 |
# steamlit setup
|
101 |
st.set_page_config(page_title="Sentiment Analysis on Your Cantonese Song",)
|
102 |
st.header("Cantonese Song Sentiment Analyzer")
|
@@ -108,11 +107,5 @@ if __name__ == '__main__':
|
|
108 |
st.write("No file uploaded.")
|
109 |
button_click = st.button("Run Analysis", type="primary")
|
110 |
|
111 |
-
|
112 |
-
# load song
|
113 |
-
#input_file = os.path.isfile("test1.mp3")
|
114 |
-
# output_file = os.path.isdir("")
|
115 |
-
|
116 |
-
|
117 |
if button_click:
|
118 |
main(input_file=input_file)
|
|
|
96 |
|
97 |
if __name__ == '__main__':
|
98 |
|
|
|
99 |
# steamlit setup
|
100 |
st.set_page_config(page_title="Sentiment Analysis on Your Cantonese Song",)
|
101 |
st.header("Cantonese Song Sentiment Analyzer")
|
|
|
107 |
st.write("No file uploaded.")
|
108 |
button_click = st.button("Run Analysis", type="primary")
|
109 |
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
if button_click:
|
111 |
main(input_file=input_file)
|