Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,8 +71,9 @@ def download(task_id: str) -> str:
|
|
| 71 |
return f"Error: {e}"
|
| 72 |
|
| 73 |
# --- Initialize the agent ---
|
| 74 |
-
api_key = os.getenv("FEATHERLESS_API_KEY")
|
| 75 |
-
|
|
|
|
| 76 |
|
| 77 |
agent = CodeAgent(
|
| 78 |
tools=[calc, run_py, download],
|
|
|
|
| 71 |
return f"Error: {e}"
|
| 72 |
|
| 73 |
# --- Initialize the agent ---
|
| 74 |
+
#api_key = os.getenv("FEATHERLESS_API_KEY")
|
| 75 |
+
#print("FEATHERLESS_API_KEY:", api_key)
|
| 76 |
+
model = InferenceClientModel()
|
| 77 |
|
| 78 |
agent = CodeAgent(
|
| 79 |
tools=[calc, run_py, download],
|