Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -20,11 +20,6 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
|
20 |
|
21 |
# --- Basic Agent Definition ---
|
22 |
|
23 |
-
class BasicAgent:
|
24 |
-
import os
|
25 |
-
from serpapi import GoogleSearch
|
26 |
-
from typing import List, Dict, Optional
|
27 |
-
|
28 |
class BasicAgent:
|
29 |
def __init__(self, api_key: str = None):
|
30 |
self.api_key = api_key or os.getenv("SERP_API_KEY")
|
|
|
20 |
|
21 |
# --- Basic Agent Definition ---
|
22 |
|
|
|
|
|
|
|
|
|
|
|
23 |
class BasicAgent:
|
24 |
def __init__(self, api_key: str = None):
|
25 |
self.api_key = api_key or os.getenv("SERP_API_KEY")
|