Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -352,7 +352,10 @@ def generate_map(location_names):
|
|
352 |
map_html = m._repr_html_()
|
353 |
return map_html
|
354 |
#------------------------------------
|
355 |
-
|
|
|
|
|
|
|
356 |
|
357 |
# Step 1: Define the Yelp Search Tool
|
358 |
class YelpSearchTool:
|
|
|
352 |
map_html = m._repr_html_()
|
353 |
return map_html
|
354 |
#------------------------------------
|
355 |
+
from langchain import OpenAI, LLMMathChain, SerpAPIWrapper
|
356 |
+
from langchain.agents import initialize_agent, Tool, AgentExecutor
|
357 |
+
from langchain.chat_models import ChatOpenAI
|
358 |
+
import os
|
359 |
|
360 |
# Step 1: Define the Yelp Search Tool
|
361 |
class YelpSearchTool:
|