drmasad commited on
Commit
54e5938
·
verified ·
1 Parent(s): dfac51b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -106,7 +106,7 @@ if prompt := st.chat_input(f"Hi I'm {selected_model}, ask me a question"):
106
  instructions = "Respond as an expert doctor in diabetes. Ensure the response is informative and directly answers the user's question."
107
 
108
  # Create the full prompt with instructions
109
- full_prompt = f"<s>[INST] {user_prompt} [/INST] {instructions}</s>"
110
 
111
  # Display assistant response in chat message container
112
  with st.chat_message("assistant"):
 
106
  instructions = "Respond as an expert doctor in diabetes. Ensure the response is informative and directly answers the user's question."
107
 
108
  # Create the full prompt with instructions
109
+ full_prompt = f"<s>[INST] {prompt} [/INST] {instructions}</s>"
110
 
111
  # Display assistant response in chat message container
112
  with st.chat_message("assistant"):