Commit
·
673a80a
1
Parent(s):
fb35c19
fix: try different model
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
|
18 |
# ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
|
19 |
class BasicAgent:
|
20 |
def __init__(self):
|
21 |
-
self.llm = HuggingFaceInferenceAPI(model_name="Qwen/Qwen2
|
22 |
print("BasicAgent initialized.")
|
23 |
def __call__(self, question: str) -> str:
|
24 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
|
|
18 |
# ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
|
19 |
class BasicAgent:
|
20 |
def __init__(self):
|
21 |
+
self.llm = HuggingFaceInferenceAPI(model_name="Qwen/Qwen2-7B-Instruct")
|
22 |
print("BasicAgent initialized.")
|
23 |
def __call__(self, question: str) -> str:
|
24 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|