lisaude0512 commited on
Commit
f260928
·
verified ·
1 Parent(s): 87794ef
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,7 @@ import random
3
  from huggingface_hub import InferenceClient
4
  # change the LLM
5
 
6
- client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
7
  def respond(message, history):
8
  messages = [{"role": "system", "content": "You are a helpful chatbot."}]
9
  # change the personality
@@ -26,4 +26,4 @@ def magic_eight_ball(message, history):
26
  return chat_answer
27
 
28
  chatbot = gr.ChatInterface(respond, type = "messages")
29
- chatbot.launch()
 
3
  from huggingface_hub import InferenceClient
4
  # change the LLM
5
 
6
+ client = InferenceClient("Qwen/Qwen2.5-72B-Instruct")
7
  def respond(message, history):
8
  messages = [{"role": "system", "content": "You are a helpful chatbot."}]
9
  # change the personality
 
26
  return chat_answer
27
 
28
  chatbot = gr.ChatInterface(respond, type = "messages")
29
+ chatbot.launch(debug=True)