Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ class BasicAgent:
|
|
| 18 |
# Create model using Hugging Face InferenceClientModel (native to smolagents)
|
| 19 |
self.model = InferenceClientModel(
|
| 20 |
model_id="meta-llama/Llama-3.2-3B-Instruct",
|
| 21 |
-
token=os.getenv("
|
| 22 |
)
|
| 23 |
print("Initialized Hugging Face InferenceClientModel")
|
| 24 |
|
|
|
|
| 18 |
# Create model using Hugging Face InferenceClientModel (native to smolagents)
|
| 19 |
self.model = InferenceClientModel(
|
| 20 |
model_id="meta-llama/Llama-3.2-3B-Instruct",
|
| 21 |
+
token=os.getenv("secsec") # Will use HF_TOKEN environment variable if set
|
| 22 |
)
|
| 23 |
print("Initialized Hugging Face InferenceClientModel")
|
| 24 |
|