achmaddhani commited on
Commit
afb77e5
·
1 Parent(s): 4b7fc39

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +3 -3
model.py CHANGED
@@ -17,10 +17,10 @@ def run():
17
  '''
18
  This function is for running the page for predictions
19
  '''
20
- st.title('What are you feeling right now ?')
21
  user_input = st.text_input(label='Try not to think, and let your heart speak',
22
  value='Today, i feel...',
23
- max_chars=50,
24
  key='text_input_key',
25
  type='default',
26
  autocomplete=None,
@@ -44,6 +44,6 @@ def run():
44
  url = "https://www.healthline.com/health/eft-tapping#:~:text=Emotional%20freedom%20technique%20(EFT)%20is,as%20tapping%20or%20psychological%20acupressure."
45
  st.markdown(f'<a href="{url}" target="_blank">You can learn more about EFT here!</a>', unsafe_allow_html=True)
46
  elif result[0] == 1:
47
- st.write('Calm down bro')
48
  else:
49
  st.write("That's Great! We hope the rest of the day will be as wonderful!")
 
17
  '''
18
  This function is for running the page for predictions
19
  '''
20
+ st.title("Can you describe what you're going through right now ?")
21
  user_input = st.text_input(label='Try not to think, and let your heart speak',
22
  value='Today, i feel...',
23
+ max_chars=300,
24
  key='text_input_key',
25
  type='default',
26
  autocomplete=None,
 
44
  url = "https://www.healthline.com/health/eft-tapping#:~:text=Emotional%20freedom%20technique%20(EFT)%20is,as%20tapping%20or%20psychological%20acupressure."
45
  st.markdown(f'<a href="{url}" target="_blank">You can learn more about EFT here!</a>', unsafe_allow_html=True)
46
  elif result[0] == 1:
47
+ st.write("It's alright to be angry. We believe you'll get through it eventually! If you need help calming down, we would suggest")
48
  else:
49
  st.write("That's Great! We hope the rest of the day will be as wonderful!")