Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ class BasicAgent:
|
|
| 20 |
|
| 21 |
# If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
|
| 22 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
| 23 |
-
|
| 24 |
model = InferenceClientModel()
|
| 25 |
|
| 26 |
with open("prompts.yaml", 'r') as stream:
|
|
|
|
| 20 |
|
| 21 |
# If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
|
| 22 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
| 23 |
+
login(os.getenv('HF_Token'))
|
| 24 |
model = InferenceClientModel()
|
| 25 |
|
| 26 |
with open("prompts.yaml", 'r') as stream:
|