indiapuig commited on
Commit
30d6b1e
·
verified ·
1 Parent(s): 79c690d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -5,7 +5,8 @@ from huggingface_hub import InferenceClient
5
  client = InferenceClient("microsoft/phi-4")
6
 
7
  def respond(message, history):
8
- messages = [{"role": "system", "content": "You are a mean chatbot."}]
 
9
 
10
  if history:
11
  messages.extend(history)
@@ -21,6 +22,6 @@ def respond(message, history):
21
 
22
  print("Hello world")
23
 
24
- chatbot = gr.ChatInterface(respond, type="messages", title="Friendly chatbot")
25
  chatbot.launch()
26
 
 
5
  client = InferenceClient("microsoft/phi-4")
6
 
7
  def respond(message, history):
8
+ messages = [{"role": "system", "content": "You are a helpful tutor assisting in GCSE AQA Biology. You should assist the user in learning the concept they want to learn within gcse biology. Include constantly asking questions, providing information and consolidating knowledge.
9
+ ."}]
10
 
11
  if history:
12
  messages.extend(history)
 
22
 
23
  print("Hello world")
24
 
25
+ chatbot = gr.ChatInterface(respond, type="messages", title="ACE it!")
26
  chatbot.launch()
27