ruchitoshniwal commited on
Commit
b767489
1 Parent(s): b1c2955

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,8 +36,8 @@ def main():
36
  with st.form(key='emotion_detection_form'):
37
  raw_text = st.text_area("Type here")
38
  submit_text = st.form_submit_button(label = 'Submit')
39
- st.subheader("Logistic Regression model trained on labeled data (8 emotions)")
40
  if submit_text:
 
41
  col1,col2 = st.columns(2)
42
  prediction = predict_emotions(raw_text)
43
  prediction_probability = get_prediction_proba(raw_text)
 
36
  with st.form(key='emotion_detection_form'):
37
  raw_text = st.text_area("Type here")
38
  submit_text = st.form_submit_button(label = 'Submit')
 
39
  if submit_text:
40
+ st.subheader("Logistic Regression model trained on labeled data (8 emotions)")
41
  col1,col2 = st.columns(2)
42
  prediction = predict_emotions(raw_text)
43
  prediction_probability = get_prediction_proba(raw_text)