Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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] {
|
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"):
|