faizee07 commited on
Commit
bb4e6ce
·
verified ·
1 Parent(s): 1bf4efb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -9
app.py CHANGED
@@ -1,17 +1,9 @@
1
  import os
2
  import gradio as gr
3
  from crewai import Agent, Task, Crew, Process
4
- #from crewai_tools import DuckDuckGoSearchTool, FileWriteTool # CORRECTED IMPORT
5
  from langchain_google_genai import ChatGoogleGenerativeAI
6
 
7
-
8
- # --- Find these old lines ---
9
- # from crewai_tools import DuckDuckGoSearchTool, FileWriteTool
10
-
11
- # --- Replace them with these new lines ---
12
- from crewai_tools.tools.search_tools import DuckDuckGoSearchTool
13
- from crewai_tools.tools.file_tools import FileWriteTool
14
-
15
  # --- 1. SET UP THE GEMINI LLM ---
16
  # IMPORTANT: Set your Google API key in your environment variables.
17
  # For local testing, create a .env file with: GOOGLE_API_KEY="your_key_here"
 
1
  import os
2
  import gradio as gr
3
  from crewai import Agent, Task, Crew, Process
4
+ from crewai_tools import DuckDuckGoSearchTool, FileWriteTool # CORRECTED IMPORT
5
  from langchain_google_genai import ChatGoogleGenerativeAI
6
 
 
 
 
 
 
 
 
 
7
  # --- 1. SET UP THE GEMINI LLM ---
8
  # IMPORTANT: Set your Google API key in your environment variables.
9
  # For local testing, create a .env file with: GOOGLE_API_KEY="your_key_here"