Manasa1 commited on
Commit
60254fb
·
verified ·
1 Parent(s): 989842f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,7 +17,7 @@ load_dotenv()
17
 
18
  # Configure API keys
19
  API_KEY = os.getenv("GOOGLE_API_KEY")
20
-
21
  if API_KEY:
22
  genai.configure(api_key=API_KEY)
23
 
@@ -106,7 +106,7 @@ with tab2:
106
  # Initialize the agent for YouTube analysis
107
  try:
108
  youtube_agent = Agent(
109
- model=Gemini(id="gemini-2.0-flash-exp"),
110
  tools=[YouTubeTools(), DuckDuckGo()],
111
  show_tool_calls=False,
112
  get_video_captions=True,
 
17
 
18
  # Configure API keys
19
  API_KEY = os.getenv("GOOGLE_API_KEY")
20
+ groq_api_key = os.getenv("GROQ_API_KEY")
21
  if API_KEY:
22
  genai.configure(api_key=API_KEY)
23
 
 
106
  # Initialize the agent for YouTube analysis
107
  try:
108
  youtube_agent = Agent(
109
+ model=Groq(id="llama-3.3-70b-versatile", api_key=groq_api_key),
110
  tools=[YouTubeTools(), DuckDuckGo()],
111
  show_tool_calls=False,
112
  get_video_captions=True,