Updated the Firebase Storage Bucket to be from ENV Variables

This commit is contained in:
Tiago Ribeiro
2024-03-21 10:50:48 +00:00
parent bed07ca819
commit f02d113f40
4 changed files with 4 additions and 2 deletions

View File

@@ -16,10 +16,10 @@ load_dotenv()
# Initialize Firebase Admin SDK
cred = credentials.Certificate(os.getenv("GOOGLE_APPLICATION_CREDENTIALS"))
FIREBASE_BUCKET = os.getenv('FIREBASE_BUCKET')
firebase_admin.initialize_app(cred)
FIREBASE_BUCKET = 'storied-phalanx-349916.appspot.com'
VIDEO_FILES_PATH = 'download-video/'
FIREBASE_SPEAKING_VIDEO_FILES_PATH = 'speaking_videos/'