Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import accelerate
|
|
12 |
# steamlit setup
|
13 |
st.set_page_config(page_title="Sentiment Analysis on Your Cantonese Song",)
|
14 |
st.header("Cantonese Song Sentiment Analyzer")
|
15 |
-
st.button("Run Analysis", type="primary")
|
16 |
|
17 |
# load song
|
18 |
input_file = ""
|
@@ -90,5 +90,5 @@ def main():
|
|
90 |
|
91 |
|
92 |
if __name__ == '__main__':
|
93 |
-
if
|
94 |
main()
|
|
|
12 |
# steamlit setup
|
13 |
st.set_page_config(page_title="Sentiment Analysis on Your Cantonese Song",)
|
14 |
st.header("Cantonese Song Sentiment Analyzer")
|
15 |
+
button_click = st.button("Run Analysis", type="primary")
|
16 |
|
17 |
# load song
|
18 |
input_file = ""
|
|
|
90 |
|
91 |
|
92 |
if __name__ == '__main__':
|
93 |
+
if button_click:
|
94 |
main()
|