Samka1u commited on
Commit
1451720
·
verified ·
1 Parent(s): 2e6394e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,6 @@ from sqlalchemy import (
20
  )
21
  engine = create_engine("sqlite:///agentDB.db")
22
  metadata_obj = MetaData()
23
- inspector = inspect(engine)
24
 
25
  def load_rows():
26
  """
@@ -318,6 +317,7 @@ with gr.Blocks() as demo:
318
  gr.ChatInterface(fn=run_prompt, type="messages", chatbot=chatbot)
319
 
320
  if __name__ == "__main__":
 
321
  # initialize agent once
322
  agent = agent_setup()
323
 
 
20
  )
21
  engine = create_engine("sqlite:///agentDB.db")
22
  metadata_obj = MetaData()
 
23
 
24
  def load_rows():
25
  """
 
317
  gr.ChatInterface(fn=run_prompt, type="messages", chatbot=chatbot)
318
 
319
  if __name__ == "__main__":
320
+ inspector = inspect(engine)
321
  # initialize agent once
322
  agent = agent_setup()
323