Spaces:
Build error
Build error
student-abdullah
commited on
Commit
•
124a90b
1
Parent(s):
40350e7
Update a.py
Browse files
a.py
CHANGED
@@ -99,7 +99,7 @@ def truncate_at_full_stop(text, max_length=512):
|
|
99 |
|
100 |
|
101 |
if st.session_state.selected_service == "Kendra Locator":
|
102 |
-
st.title("
|
103 |
|
104 |
user_input = st.text_input("Your Queries:", key='temp_user_input')
|
105 |
|
@@ -117,7 +117,7 @@ if st.session_state.selected_service == "Kendra Locator":
|
|
117 |
|
118 |
truncated_response = truncate_at_full_stop(response)
|
119 |
st.markdown(f"**You:** {user_input}", unsafe_allow_html=False)
|
120 |
-
st.markdown(f"**
|
121 |
|
122 |
|
123 |
st.warning("Developer's notice : Responses are generated by AI and maybe inaccurate or inappropriate. Any received medical or financial consult is not a substitute for professional advice.")
|
|
|
99 |
|
100 |
|
101 |
if st.session_state.selected_service == "Kendra Locator":
|
102 |
+
st.title("MedBot")
|
103 |
|
104 |
user_input = st.text_input("Your Queries:", key='temp_user_input')
|
105 |
|
|
|
117 |
|
118 |
truncated_response = truncate_at_full_stop(response)
|
119 |
st.markdown(f"**You:** {user_input}", unsafe_allow_html=False)
|
120 |
+
st.markdown(f"**MedBot:** {truncated_response}.", unsafe_allow_html=False)
|
121 |
|
122 |
|
123 |
st.warning("Developer's notice : Responses are generated by AI and maybe inaccurate or inappropriate. Any received medical or financial consult is not a substitute for professional advice.")
|