Spaces:
Sleeping
Sleeping
google bucket access
Browse files
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"
|