Spaces:
Runtime error
Runtime error
Commit ·
d80b5d4
1
Parent(s): a8cbedf
Remove redundant `bsodtv_storage.commit` call in audio upload process.
Browse files49 unmodified lines5051525353545549 unmodified lines with bsodtv_storage.batch_upload() as batch: batch.put_file(original_audio_path, "/{}/original_audio.wav".format(processing_id)) batch.put_file(dubbed_audio_path, "/{}/dubbed_audio.wav".format(processing_id)) bsodtv_storage.commit() except Exception as e: logger.error(f"Error uploading audio files to Modal Storage: {e}") return "Error uploading audio files to Cloud Storage."app.py-1