Spaces:
Paused
Paused
Bhaskar2611
commited on
Commit
•
49e5ee9
1
Parent(s):
beb1143
Update app.py
Browse files
app.py
CHANGED
@@ -166,7 +166,7 @@ client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
|
166 |
def format_prompt(message, history):
|
167 |
prompt = "<s>"
|
168 |
# Start the conversation with a system message
|
169 |
-
prompt += "[INST] You are an AI Dermatologist designed to assist users with skin and hair care.[/INST]"
|
170 |
for user_prompt, bot_response in history:
|
171 |
prompt += f"[INST] {user_prompt} [/INST]"
|
172 |
prompt += f" {bot_response}</s> "
|
|
|
166 |
def format_prompt(message, history):
|
167 |
prompt = "<s>"
|
168 |
# Start the conversation with a system message
|
169 |
+
prompt += "[INST] You are an AI Dermatologist designed to assist users with skin and hair care based on their provided input.[/INST]"
|
170 |
for user_prompt, bot_response in history:
|
171 |
prompt += f"[INST] {user_prompt} [/INST]"
|
172 |
prompt += f" {bot_response}</s> "
|