rename to university chatbot

#3
Files changed (1) hide show
  1. app.py +2 -2
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 sassy chatbot"}]
9
 
10
  if history:
11
  messages.extend(history)
@@ -21,7 +21,7 @@ def respond(message, history):
21
 
22
 
23
 
24
- chatbot = gr.ChatInterface(respond, type = "messages", title = "Friendly chatbot") #chatbot ui - conversation history and user input
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 friendly chatbot, helping highschool students make decisions about universities"}]
9
 
10
  if history:
11
  messages.extend(history)
 
21
 
22
 
23
 
24
+ chatbot = gr.ChatInterface(respond, type = "messages", title = "University chatbot") #chatbot ui - conversation history and user input
25
  chatbot.launch()
26
 
27