Ishanpardeshi commited on
Commit
0f2a2e6
·
verified ·
1 Parent(s): a89833f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -182,7 +182,7 @@ def process_file(file, query, expected_output):
182
  agent = AgentLoader.fileReaderAgent(path)
183
  elif path.endswith(".csv"):
184
  agent = AgentLoader.csvReaderAgent(path)
185
- results = agent.run(query)
186
  else:
187
  return 'File NOT supported'
188
 
 
182
  agent = AgentLoader.fileReaderAgent(path)
183
  elif path.endswith(".csv"):
184
  agent = AgentLoader.csvReaderAgent(path)
185
+ return agent.run(query)
186
  else:
187
  return 'File NOT supported'
188