Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def upload_file_to_firebase(file_path, destination_blob_name):
|
|
35 |
Uploads a file to Firebase Storage and returns its public URL.
|
36 |
"""
|
37 |
# Update the bucket name to match your Firebase Storage bucket (usually: your-project-id.appspot.com)
|
38 |
-
bucket_name = "
|
39 |
storage_client = storage.Client.from_service_account_json(SERVICE_ACCOUNT_KEY)
|
40 |
bucket = storage_client.bucket(bucket_name)
|
41 |
blob = bucket.blob(destination_blob_name)
|
|
|
35 |
Uploads a file to Firebase Storage and returns its public URL.
|
36 |
"""
|
37 |
# Update the bucket name to match your Firebase Storage bucket (usually: your-project-id.appspot.com)
|
38 |
+
bucket_name = "sentiment-analysis-7562e.appspot.com" # <-- Update with your storage bucket name
|
39 |
storage_client = storage.Client.from_service_account_json(SERVICE_ACCOUNT_KEY)
|
40 |
bucket = storage_client.bucket(bucket_name)
|
41 |
blob = bucket.blob(destination_blob_name)
|