Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ SERVICE_ACCOUNT_KEY = "path/to/serviceAccountKey.json" # <-- update this!
|
|
25 |
# Initialize Firebase Admin for Realtime Database
|
26 |
cred = credentials.Certificate(SERVICE_ACCOUNT_KEY)
|
27 |
firebase_admin.initialize_app(cred, {
|
28 |
-
'databaseURL': 'https://
|
29 |
})
|
30 |
|
31 |
def upload_file_to_firebase(file_path, destination_blob_name):
|
|
|
25 |
# Initialize Firebase Admin for Realtime Database
|
26 |
cred = credentials.Certificate(SERVICE_ACCOUNT_KEY)
|
27 |
firebase_admin.initialize_app(cred, {
|
28 |
+
'databaseURL': 'https://sentiment-analysis-7562e-default-rtdb.firebaseio.com/' # <-- update with your DB URL
|
29 |
})
|
30 |
|
31 |
def upload_file_to_firebase(file_path, destination_blob_name):
|