Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ class BasicAgent:
|
|
29 |
|
30 |
# Initialize other required components
|
31 |
self.searx_url = "https://searx.space/search" # Set your SearxNG instance URL
|
32 |
-
self.wiki = wikipediaapi.Wikipedia('en') # Requires wikipedia-api package
|
33 |
|
34 |
genai.configure(api_key=os.getenv('GEMINI_API_KEY'))
|
35 |
self.model = genai.GenerativeModel(model)
|
|
|
29 |
|
30 |
# Initialize other required components
|
31 |
self.searx_url = "https://searx.space/search" # Set your SearxNG instance URL
|
32 |
+
#self.wiki = wikipediaapi.Wikipedia('en') # Requires wikipedia-api package
|
33 |
|
34 |
genai.configure(api_key=os.getenv('GEMINI_API_KEY'))
|
35 |
self.model = genai.GenerativeModel(model)
|