RexChan commited on
Commit
753b2bf
1 Parent(s): 4bed08a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 st.button("Run Analysis"):
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()