Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
fix: pdf google drive (#568)
Browse files Browse the repository at this point in the history
fix: pdf google drive
  • Loading branch information
EmanuelCampos authored Oct 6, 2023
1 parent 91e4a7a commit 9af9947
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Smaller Features + Bug Fixes
- fix: credentials path and readme improvement (#567)

- fix: pdf google drive (#568)
### [v0.0.35] - 2023-10-05
- Loader for Macrometa GDN (#484)
- adding boto3 minio doc loader (#497)
Expand Down
2 changes: 1 addition & 1 deletion llama_hub/google_drive/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def get_metadata(filename):
metadata = {}

for fileid_meta in fileids_meta:
filename = next(tempfile._get_candidate_names())
filename = fileid_meta[2]
filepath = os.path.join(temp_dir, filename)
fileid = fileid_meta[0]
final_filepath = self._download_file(fileid, filepath)
Expand Down

0 comments on commit 9af9947

Please sign in to comment.