Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,7 @@ import math, ast, os, requests, pandas as pd
|
|
| 6 |
# (Keep Constants as is)
|
| 7 |
# --- Constants ---
|
| 8 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
|
|
|
| 9 |
|
| 10 |
# --- Tool: Safe Math Evaluator ---
|
| 11 |
@tool
|
|
|
|
| 6 |
# (Keep Constants as is)
|
| 7 |
# --- Constants ---
|
| 8 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
| 9 |
+
os.environ["SMOLAGENTS_MODEL"] = "huggingface/mistral-7b-instruct-v0.2"
|
| 10 |
|
| 11 |
# --- Tool: Safe Math Evaluator ---
|
| 12 |
@tool
|