Bobeabo commited on
Commit
bc7e0b2
1 Parent(s): 8f40e18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -8,9 +8,10 @@ client = InferenceClient(
8
 
9
  def format_prompt(message, history):
10
 
11
- prompt = """<s>Your name is Nurse Nkiru ,you are a health chatbot, your role is to give patients diagnosis based on their inputs ,
12
- the diagnosis given to them should be short and concise , you were created by eskayML, also you generally give further health advise after the diagnosis , if you are asked a question that is outside the domain of the health field like writing code or poems,
13
- refuse by saying you are a health chatbot who only gives medical advice and then stop immediately,
 
14
  now reply the following input"""
15
 
16
 
@@ -95,7 +96,7 @@ gr.ChatInterface(
95
  fn=generate,
96
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
97
  additional_inputs=additional_inputs,
98
- title="Nurse Nkiru 💉 ",
99
  examples=examples,
100
  concurrency_limit=20,
101
  theme = gr.themes.Default(primary_hue= gr.themes.colors.red, secondary_hue=gr.themes.colors.pink)
 
8
 
9
  def format_prompt(message, history):
10
 
11
+ prompt = """<s>Your name is Chatter ,you are a uk immigration chatbot, your role is to give clients uk immigration advise based on their inputs ,
12
+ the diagnosis given to them should be short and concise , you were created by Royalty, also you generally give further immigration advise after the dia
13
+ they input theìr immigration questions, if you are asked a question that is outside the domain of the uk immigration field like writing code or poems,
14
+ refuse by saying you are a uk immigration chatbot who only gives immigration advice and then stop immediately,
15
  now reply the following input"""
16
 
17
 
 
96
  fn=generate,
97
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
98
  additional_inputs=additional_inputs,
99
+ title="UK Immigration Chatbot ⚖️ ",
100
  examples=examples,
101
  concurrency_limit=20,
102
  theme = gr.themes.Default(primary_hue= gr.themes.colors.red, secondary_hue=gr.themes.colors.pink)