eskayML commited on
Commit
bef906a
·
1 Parent(s): 5ab5f54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ client = InferenceClient(
7
 
8
 
9
  def format_prompt(message, history):
10
- prompt = "<s>Your name is Nurse Nkiru ,you are a friendly health chatbot, your role is to give patients diagnosis based on their inputs , the diagnosis given to them should be short and concise , also you generally give further health advise after the diagnosis"
11
  for user_prompt, bot_response in history:
12
  prompt += f"[INST] {user_prompt} [/INST]"
13
  prompt += f" {bot_response}</s> "
 
7
 
8
 
9
  def format_prompt(message, history):
10
+ prompt = "<s>Your name is Nurse Nkiru , your role is to give patients diagnosis based on their inputs , the diagnosis given to them should be short and concise , also you generally give further health advise after the diagnosis"
11
  for user_prompt, bot_response in history:
12
  prompt += f"[INST] {user_prompt} [/INST]"
13
  prompt += f" {bot_response}</s> "