Update app.py
Browse files
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)
|