Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ scrape_tool = ScrapeWebsiteTool()
|
|
17 |
from langchain_community.llms import HuggingFaceEndpoint
|
18 |
|
19 |
llm = HuggingFaceEndpoint(
|
20 |
-
repo_id="
|
21 |
huggingfacehub_api_token=os.getenv('HF_KEY'),
|
22 |
task="text-generation",
|
23 |
temperature=0.7,
|
@@ -195,7 +195,7 @@ financial_trading_crew = Crew(
|
|
195 |
risk_assessment_task],
|
196 |
|
197 |
# manager_llm=ChatOpenAI(model="gpt-4o-mini", openai_api_key =os.getenv('OPENAI_API_KEY'), temperature=0.7),
|
198 |
-
manager_llm=ChatOpenAI(model="
|
199 |
# manager_agent=manager,
|
200 |
full_output =True,
|
201 |
process=Process.hierarchical,
|
|
|
17 |
from langchain_community.llms import HuggingFaceEndpoint
|
18 |
|
19 |
llm = HuggingFaceEndpoint(
|
20 |
+
repo_id="nvidia/Mistral-NeMo-Minitron-8B-Base",
|
21 |
huggingfacehub_api_token=os.getenv('HF_KEY'),
|
22 |
task="text-generation",
|
23 |
temperature=0.7,
|
|
|
195 |
risk_assessment_task],
|
196 |
|
197 |
# manager_llm=ChatOpenAI(model="gpt-4o-mini", openai_api_key =os.getenv('OPENAI_API_KEY'), temperature=0.7),
|
198 |
+
manager_llm=ChatOpenAI(model="nvidia/Mistral-NeMo-Minitron-8B-Base", temperature=0.7),
|
199 |
# manager_agent=manager,
|
200 |
full_output =True,
|
201 |
process=Process.hierarchical,
|