iisadia commited on
Commit
ed0a324
·
verified ·
1 Parent(s): 5e0ec0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -159,7 +159,7 @@ def ask_help_agent(query):
159
  try:
160
  from huggingface_hub import InferenceClient
161
  # Initialize the client with the provided model
162
- client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
163
  system_message = "You are a friendly Chatbot."
164
 
165
  # Build history from session state (if any)
 
159
  try:
160
  from huggingface_hub import InferenceClient
161
  # Initialize the client with the provided model
162
+ client = InferenceClient("HuggingFaceH4/zephyr-7b-beta", token=os.environ.get("HF_HUB_TOKEN"))
163
  system_message = "You are a friendly Chatbot."
164
 
165
  # Build history from session state (if any)