Spaces:
Sleeping
Sleeping
Commit ·
ab554c1
1
Parent(s): b0e0334
Update model.py
Browse files
model.py
CHANGED
|
@@ -31,7 +31,7 @@ def run():
|
|
| 31 |
placeholder='Please Type here...',
|
| 32 |
disabled=False,
|
| 33 |
help='Try not to think, and let your heart speak',
|
| 34 |
-
label_visibility= "
|
| 35 |
)
|
| 36 |
st.write('')
|
| 37 |
|
|
@@ -44,8 +44,8 @@ def run():
|
|
| 44 |
result= prediction([X])
|
| 45 |
st.write(result[1])
|
| 46 |
if result[0] == 0:
|
| 47 |
-
st.write("It's alright")
|
| 48 |
-
st.write("
|
| 49 |
st.markdown(f'<a href="{url}" target="_blank">You can learn more about EFT here with Rumah Remedi</a>', unsafe_allow_html=True)
|
| 50 |
elif result[0] == 1:
|
| 51 |
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 the link below")
|
|
|
|
| 31 |
placeholder='Please Type here...',
|
| 32 |
disabled=False,
|
| 33 |
help='Try not to think, and let your heart speak',
|
| 34 |
+
label_visibility= "hidden"
|
| 35 |
)
|
| 36 |
st.write('')
|
| 37 |
|
|
|
|
| 44 |
result= prediction([X])
|
| 45 |
st.write(result[1])
|
| 46 |
if result[0] == 0:
|
| 47 |
+
st.write("It's alright, you'll do just fine!")
|
| 48 |
+
st.write("If ever you need help on dealing with this, EFT method could certainly help")
|
| 49 |
st.markdown(f'<a href="{url}" target="_blank">You can learn more about EFT here with Rumah Remedi</a>', unsafe_allow_html=True)
|
| 50 |
elif result[0] == 1:
|
| 51 |
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 the link below")
|