student-abdullah commited on
Commit
72569e6
1 Parent(s): 908ca69

Update a.py

Browse files
Files changed (1) hide show
  1. a.py +2 -2
a.py CHANGED
@@ -99,7 +99,7 @@ def truncate_at_full_stop(text, max_length=1024):
99
 
100
 
101
  if st.session_state.selected_service == "Kendr Locator":
102
- st.title("MedAI")
103
 
104
  user_input = st.text_input("Your Queries:", key='temp_user_input')
105
 
@@ -113,7 +113,7 @@ if st.session_state.selected_service == "Kendr Locator":
113
  response = llm.invoke(formatted_prompt)
114
 
115
  truncated_response = truncate_at_full_stop(response)
116
- st.markdown(f"**MedAI:** {truncated_response}", unsafe_allow_html=False)
117
 
118
 
119
  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 == "Kendr Locator":
102
+ st.title("MedBot")
103
 
104
  user_input = st.text_input("Your Queries:", key='temp_user_input')
105
 
 
113
  response = llm.invoke(formatted_prompt)
114
 
115
  truncated_response = truncate_at_full_stop(response)
116
+ st.markdown(f"**MedBot:** {truncated_response}", unsafe_allow_html=False)
117
 
118
 
119
  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.")