Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ from langchain_core.messages import HumanMessage
|
|
| 16 |
# --- Constants ---
|
| 17 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
| 18 |
|
| 19 |
-
def openrouter_inference(prompt, model="deepseek
|
| 20 |
api_key = os.environ["OPENROUTER_API_KEY"]
|
| 21 |
url = "https://openrouter.ai/api/v1/chat/completions"
|
| 22 |
headers = {
|
|
|
|
| 16 |
# --- Constants ---
|
| 17 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
| 18 |
|
| 19 |
+
def openrouter_inference(prompt, model="deepseek/deepseek-r1-0528-qwen3-8b:free"):
|
| 20 |
api_key = os.environ["OPENROUTER_API_KEY"]
|
| 21 |
url = "https://openrouter.ai/api/v1/chat/completions"
|
| 22 |
headers = {
|