kaitwithkwk commited on
Commit
4669c8c
·
verified ·
1 Parent(s): 173e7f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
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
 
@@ -21,6 +21,6 @@ def respond(message, history):
21
 
22
  return response['choices'][0]['message']['content'].strip()
23
 
24
- chatbot = gr.ChatInterface(respond, type="messages")
25
 
26
  chatbot.launch()
 
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
 
 
21
 
22
  return response['choices'][0]['message']['content'].strip()
23
 
24
+ chatbot = gr.ChatInterface(respond)
25
 
26
  chatbot.launch()