Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ def generate_math_solution_openrouter(api_key, problem_text, history=None):
|
|
| 47 |
messages.append({"role": "user", "content": f"Solve this math problem step-by-step: {problem_text}"}) ## Solve this math problem step-by-step: {what is 2+2?}
|
| 48 |
|
| 49 |
completion=client.chat.completions.create(
|
| 50 |
-
model="
|
| 51 |
messages=messages,
|
| 52 |
extra_headers={
|
| 53 |
"HTTP-Referer": "https://advancedmathtutor.edu",
|
|
|
|
| 47 |
messages.append({"role": "user", "content": f"Solve this math problem step-by-step: {problem_text}"}) ## Solve this math problem step-by-step: {what is 2+2?}
|
| 48 |
|
| 49 |
completion=client.chat.completions.create(
|
| 50 |
+
model="meta-llama/llama-3.3-70b-instruct:free",
|
| 51 |
messages=messages,
|
| 52 |
extra_headers={
|
| 53 |
"HTTP-Referer": "https://advancedmathtutor.edu",
|