Spaces:
Runtime error
Runtime error
Update infer/lib/train/process_ckpt.py
Browse files
infer/lib/train/process_ckpt.py
CHANGED
@@ -99,7 +99,7 @@ def savee(ckpt, sr, if_f0, name, epoch, version, hps):
|
|
99 |
print("Files in the current directory:")
|
100 |
for file in files:
|
101 |
print(file)
|
102 |
-
credentials_path = "/infer/lib/train/credentials.json"
|
103 |
# Set up Google Drive API and upload the file
|
104 |
SCOPES = ['https://www.googleapis.com/auth/drive.file']
|
105 |
creds = service_account.Credentials.from_service_account_file(credentials_path, scopes=SCOPES)
|
|
|
99 |
print("Files in the current directory:")
|
100 |
for file in files:
|
101 |
print(file)
|
102 |
+
credentials_path = "/home/user/app/infer/lib/train/credentials.json"
|
103 |
# Set up Google Drive API and upload the file
|
104 |
SCOPES = ['https://www.googleapis.com/auth/drive.file']
|
105 |
creds = service_account.Credentials.from_service_account_file(credentials_path, scopes=SCOPES)
|