Bobby commited on
Commit
bb4981a
·
1 Parent(s): 28a3312

fix: save crowd images to shared drive

Browse files
Files changed (1) hide show
  1. drive_storage.py +3 -2
drive_storage.py CHANGED
@@ -15,11 +15,12 @@ from PIL import Image
15
 
16
 
17
  DRIVE_FOLDER_ID = os.getenv(
18
- "GOOGLE_DRIVE_FOLDER_ID", "1Gvh9NFEDxOh6km5WgJajiihov27Jo2t8"
19
  )
20
  DRIVE_SCOPE = "https://www.googleapis.com/auth/drive"
21
  DRIVE_UPLOAD_URL = (
22
- "https://www.googleapis.com/upload/drive/v3/files?uploadType=multipart&fields=id"
 
23
  )
24
  MAX_PENDING_SAVES = 8
25
 
 
15
 
16
 
17
  DRIVE_FOLDER_ID = os.getenv(
18
+ "GOOGLE_DRIVE_FOLDER_ID", "1W0J0o-HI0vydlJDg1ed8yTrpFarwuH7M"
19
  )
20
  DRIVE_SCOPE = "https://www.googleapis.com/auth/drive"
21
  DRIVE_UPLOAD_URL = (
22
+ "https://www.googleapis.com/upload/drive/v3/files"
23
+ "?uploadType=multipart&supportsAllDrives=true&fields=id"
24
  )
25
  MAX_PENDING_SAVES = 8
26