Piyusha55 commited on
Commit
64337f6
·
verified ·
1 Parent(s): c459cdc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import random
3
  from huggingface_hub import InferenceClient
4
 
5
- client = InferenceClient("Qwen/Qwen2.5-7B-Instruct")
6
 
7
  def random_response(message, history):
8
  messages= [{"role": "system", "content": "You are a friendly chatbot"}]
 
2
  import random
3
  from huggingface_hub import InferenceClient
4
 
5
+ client = InferenceClient("Qwen/Qwen2.5-7B-Instruct", token=HF_TOKEN)
6
 
7
  def random_response(message, history):
8
  messages= [{"role": "system", "content": "You are a friendly chatbot"}]