Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,8 @@ processing_status = {"is_processing": False, "progress": 0, "total": 0}
|
|
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
|
27 |
if self.debug:
|
28 |
print(f"IntelligentAgent initialized with model: {model_name}")
|
|
|
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 |
+
provider = "sambanova")
|
27 |
self.debug = debug
|
28 |
if self.debug:
|
29 |
print(f"IntelligentAgent initialized with model: {model_name}")
|