Pijush2023 commited on
Commit
969e009
·
verified ·
1 Parent(s): 1d22329

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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: