Skip to content

Commit

Permalink
Merge branch 'feat/use_direct_sql_connector' of https://github.com/gv…
Browse files Browse the repository at this point in the history
…enturi/pandas-ai into feat/use_direct_sql_connector
  • Loading branch information
ArslanSaleem committed Nov 7, 2023
2 parents a02f332 + 8409742 commit 877ea38
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pandasai/prompts/generate_python_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,4 @@ def on_prompt_generation(self) -> None:
def _format_instructions(self, instructions: str):
lines = instructions.split("\n")
indented_lines = [f" {line}" for line in lines[1:]]
result = "\n".join([lines[0]] + indented_lines)
return result
return "\n".join([lines[0]] + indented_lines)

0 comments on commit 877ea38

Please sign in to comment.