Skip to content

Commit

Permalink
Update service/code_interpreter.py
Browse files Browse the repository at this point in the history
Co-authored-by: Tomas Valenta <valenta.and.thomas@gmail.com>
  • Loading branch information
homanp and ValentaTomas authored Feb 29, 2024
1 parent a0a1cf3 commit 97c01cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/code_interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def get_dataframe(self):
df = pd.read_csv(self.file_urls[0])
return df, self.file_urls[0]

def genreate_prompt(self, query: str) -> str:
def generate_prompt(self, query: str) -> str:
df, url = self.get_dataframe()
return textwrap.dedent(
f"""
Expand Down

0 comments on commit 97c01cd

Please sign in to comment.