Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,9 +82,9 @@ def plot_chart():
|
|
| 82 |
tool=PythonREPLTool(),
|
| 83 |
verbose=True
|
| 84 |
)
|
| 85 |
-
|
| 86 |
# Add Open AI call to format outcome in a table
|
| 87 |
-
return agent_executor.run(
|
| 88 |
|
| 89 |
|
| 90 |
# sql_agent = get_sql_agent()
|
|
|
|
| 82 |
tool=PythonREPLTool(),
|
| 83 |
verbose=True
|
| 84 |
)
|
| 85 |
+
question = "Plot these results: " + json
|
| 86 |
# Add Open AI call to format outcome in a table
|
| 87 |
+
return agent_executor.run(question)
|
| 88 |
|
| 89 |
|
| 90 |
# sql_agent = get_sql_agent()
|