Update app.py
Browse files
app.py
CHANGED
|
@@ -21,6 +21,7 @@ class BasicAgent:
|
|
| 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 |
model = InferenceClientModel(token=os.getenv('HF_Token'))
|
|
|
|
| 24 |
|
| 25 |
with open("prompts.yaml", 'r') as stream:
|
| 26 |
prompts = yaml.safe_load(stream)
|
|
|
|
| 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 |
model = InferenceClientModel(token=os.getenv('HF_Token'))
|
| 24 |
+
print(os.getenv('HF_Token'))
|
| 25 |
|
| 26 |
with open("prompts.yaml", 'r') as stream:
|
| 27 |
prompts = yaml.safe_load(stream)
|