Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ processing_status = {"is_processing": False, "progress": 0, "total": 0}
|
|
20 |
|
21 |
# --- Intelligent Agent with Conditional Search ---
|
22 |
class IntelligentAgent:
|
23 |
-
def __init__(self, debug: bool =
|
24 |
self.search = DuckDuckGoSearchTool()
|
25 |
self.client = InferenceClient(model=model_name)
|
26 |
self.debug = debug
|
|
|
20 |
|
21 |
# --- Intelligent Agent with Conditional Search ---
|
22 |
class IntelligentAgent:
|
23 |
+
def __init__(self, debug: bool = True, model_name: str = "meta-llama/Llama-3.1-8B-Instruct"):
|
24 |
self.search = DuckDuckGoSearchTool()
|
25 |
self.client = InferenceClient(model=model_name)
|
26 |
self.debug = debug
|