Skip to content

Commit

Permalink
removed the extra os.remove()
Browse files Browse the repository at this point in the history
  • Loading branch information
star-nox committed Sep 22, 2023
1 parent 6f80b96 commit 0223a22
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ai_ta_backend/vector_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,6 @@ def _ingest_single_py(self, s3_path: str, course_name: str):
#print(texts)
os.remove(file_path)

os.remove(file_path)

success_or_failure = self.split_and_upload(texts=texts, metadatas=metadatas)
return success_or_failure

Expand Down

0 comments on commit 0223a22

Please sign in to comment.