mMonika commited on
Commit
d70901d
·
verified ·
1 Parent(s): 6169497

google bucket access

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -9,6 +9,9 @@ import shutil
9
  import threading
10
  from google.cloud import speech
11
 
 
 
 
12
 
13
  # GCS Bucket Configuration
14
  GCS_BUCKET_NAME = "userrecordings"
 
9
  import threading
10
  from google.cloud import speech
11
 
12
+ # Set the environment variable for your service account JSON
13
+ os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "story_legacy_service_account.json"
14
+
15
 
16
  # GCS Bucket Configuration
17
  GCS_BUCKET_NAME = "userrecordings"