Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ llm = HuggingFaceEndpoint(
|
|
20 |
repo_id="meta-llama/Meta-Llama-3.1-8B-Instruct",
|
21 |
huggingfacehub_api_token=os.getenv('HF_KEY'),
|
22 |
task="text-generation",
|
23 |
-
temperature=0.7
|
24 |
)
|
25 |
|
26 |
data_analyst_agent = Agent(
|
@@ -185,7 +185,7 @@ financial_trading_crew = Crew(
|
|
185 |
risk_assessment_task],
|
186 |
|
187 |
# manager_llm=ChatOpenAI(model="gpt-4o-mini", openai_api_key =os.getenv('OPENAI_API_KEY'), temperature=0.7),
|
188 |
-
manager_llm=ChatOpenAI(model=
|
189 |
full_output =True,
|
190 |
process=Process.hierarchical,
|
191 |
verbose=True
|
|
|
20 |
repo_id="meta-llama/Meta-Llama-3.1-8B-Instruct",
|
21 |
huggingfacehub_api_token=os.getenv('HF_KEY'),
|
22 |
task="text-generation",
|
23 |
+
temperature=0.7,
|
24 |
)
|
25 |
|
26 |
data_analyst_agent = Agent(
|
|
|
185 |
risk_assessment_task],
|
186 |
|
187 |
# manager_llm=ChatOpenAI(model="gpt-4o-mini", openai_api_key =os.getenv('OPENAI_API_KEY'), temperature=0.7),
|
188 |
+
manager_llm=ChatOpenAI(model="meta-llama/Meta-Llama-3.1-8B-Instruct", temperature=0.7),
|
189 |
full_output =True,
|
190 |
process=Process.hierarchical,
|
191 |
verbose=True
|