Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,7 @@ from crewai.tools.browser_tools import BrowserTools
|
|
10 |
from crewai.tools.sec_tools import SECTools
|
11 |
from crewai.tools.mixtral_tools import MixtralSearchTools
|
12 |
from crewai.tools.zephyr_tools import ZephyrSearchTools
|
|
|
13 |
|
14 |
# Google Langchain
|
15 |
from langchain_google_genai import GoogleGenerativeAI
|
@@ -60,7 +61,7 @@ def crewai_process(research_topic):
|
|
60 |
allow_delegation=False,
|
61 |
llm = gemini_llm,
|
62 |
tools=[
|
63 |
-
|
64 |
]
|
65 |
|
66 |
# Add tools and other optional parameters as needed
|
@@ -174,3 +175,5 @@ if st.button("Run"):
|
|
174 |
result = crewai_process(input_topic)
|
175 |
# Display the result
|
176 |
st.text_area("Output", value=result, height=300)
|
|
|
|
|
|
10 |
from crewai.tools.sec_tools import SECTools
|
11 |
from crewai.tools.mixtral_tools import MixtralSearchTools
|
12 |
from crewai.tools.zephyr_tools import ZephyrSearchTools
|
13 |
+
from crewai.tools.clarifai_tools import ClarifaiTools
|
14 |
|
15 |
# Google Langchain
|
16 |
from langchain_google_genai import GoogleGenerativeAI
|
|
|
61 |
allow_delegation=False,
|
62 |
llm = gemini_llm,
|
63 |
tools=[
|
64 |
+
ClarifaiTools.gemini_search
|
65 |
]
|
66 |
|
67 |
# Add tools and other optional parameters as needed
|
|
|
175 |
result = crewai_process(input_topic)
|
176 |
# Display the result
|
177 |
st.text_area("Output", value=result, height=300)
|
178 |
+
|
179 |
+
st.image(image, caption='Generated Image', use_column_width=True)
|