HsuHH commited on
Commit
c52fd70
·
verified ·
1 Parent(s): 2b3e5ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -10,7 +10,7 @@ if not hf_token:
10
 
11
  # Initialize the Zephyr model
12
  client = InferenceClient(
13
- model="HuggingFaceH4/zephyr-7b-beta",
14
  token=hf_token
15
  )
16
 
@@ -39,8 +39,8 @@ def chat_function(message, history):
39
  # Use Gradio's built-in ChatInterface for a clean look
40
  demo = gr.ChatInterface(
41
  fn=chat_function,
42
- title="Direct Chat with Zephyr-7B",
43
- description="This app talks directly to the Zephyr model via Hugging Face Serverless API. No local database is attached."
44
  )
45
 
46
  if __name__ == "__main__":
 
10
 
11
  # Initialize the Zephyr model
12
  client = InferenceClient(
13
+ model="Qwen/Qwen2.5-7B-Instruct",
14
  token=hf_token
15
  )
16
 
 
39
  # Use Gradio's built-in ChatInterface for a clean look
40
  demo = gr.ChatInterface(
41
  fn=chat_function,
42
+ title="Direct Chat with Qwen/Qwen2.5-7B-Instruct",
43
+ description="This app talks directly to the Qwen/Qwen2.5-7B-Instruct model via Hugging Face Serverless API. No local database is attached."
44
  )
45
 
46
  if __name__ == "__main__":