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,
|
@@ -29,7 +29,7 @@ manager = Agent(
|
|
29 |
backstory="You're an experienced project manager, specialized in financial investments & trading, skilled in overseeing complex projects and guiding teams to success. Your role is to coordinate the efforts of the crew members, ensuring that each task is completed on time and to the highest standard.",
|
30 |
allow_delegation=True,
|
31 |
tools = [scrape_tool, search_tool],
|
32 |
-
llm=
|
33 |
)
|
34 |
|
35 |
|
|
|
17 |
from langchain_community.llms import HuggingFaceEndpoint
|
18 |
|
19 |
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,
|
|
|
29 |
backstory="You're an experienced project manager, specialized in financial investments & trading, skilled in overseeing complex projects and guiding teams to success. Your role is to coordinate the efforts of the crew members, ensuring that each task is completed on time and to the highest standard.",
|
30 |
allow_delegation=True,
|
31 |
tools = [scrape_tool, search_tool],
|
32 |
+
llm='meta-llama/Meta-Llama-3.1-8B'
|
33 |
)
|
34 |
|
35 |
|