root
commited on
Commit
·
bf04385
1
Parent(s):
ca82116
fix firebase upload
Browse files- __pycache__/handler.cpython-310.pyc +0 -0
- handler.py +1 -1
__pycache__/handler.cpython-310.pyc
CHANGED
|
Binary files a/__pycache__/handler.cpython-310.pyc and b/__pycache__/handler.cpython-310.pyc differ
|
|
|
handler.py
CHANGED
|
@@ -419,7 +419,7 @@ class EndpointHandler():
|
|
| 419 |
# Upload video to Firebase Storage
|
| 420 |
bucket = storage.bucket()
|
| 421 |
blob = bucket.blob(f"videos/{firebase_doc_id}/swapped_face_output.mp4")
|
| 422 |
-
blob.upload_from_filename(
|
| 423 |
|
| 424 |
# Make the file publicly accessible
|
| 425 |
blob.make_public()
|
|
|
|
| 419 |
# Upload video to Firebase Storage
|
| 420 |
bucket = storage.bucket()
|
| 421 |
blob = bucket.blob(f"videos/{firebase_doc_id}/swapped_face_output.mp4")
|
| 422 |
+
blob.upload_from_filename(swapped_face_video_path)
|
| 423 |
|
| 424 |
# Make the file publicly accessible
|
| 425 |
blob.make_public()
|