kaitwithkwk commited on
Commit
a69226c
·
verified ·
1 Parent(s): 7113a33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,10 +1,10 @@
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
4
- client = InferenceClient("google/gemma-2-2b-it")
5
 
6
  def respond(message, history):
7
- messages = []
8
 
9
  if history:
10
  messages.extend(history)
 
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
4
+ client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
5
 
6
  def respond(message, history):
7
+ messages = [{"role": "system", "content": "You are a friendly chatbot."}]
8
 
9
  if history:
10
  messages.extend(history)