catherineThurgood louisepxllock commited on
Commit
88fa034
·
verified ·
1 Parent(s): 0dbc77d

Update app.py (#1)

Browse files

- Update app.py (4ad79395fd32f0865ffecdb70fba365f3dce0c51)


Co-authored-by: Louise Pollock <louisepxllock@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,7 @@ 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 friendly chatbot to help pick options for university subjects"}]
9
 
10
  if history:
11
  messages.extend(history)
@@ -25,3 +25,4 @@ chatbot = gr.ChatInterface(respond, type = "messages", title = "Friendly chatbot
25
  chatbot.launch()
26
 
27
 
 
 
5
  client = InferenceClient("microsoft/phi-4")
6
 
7
  def respond(message, history):
8
+ messages = [{"role": "system", "content": "you are a sassy chatbot"}]
9
 
10
  if history:
11
  messages.extend(history)
 
25
  chatbot.launch()
26
 
27
 
28
+