Spaces:
Sleeping
Sleeping
Tecnhotron commited on
Commit ·
7bc21ad
1
Parent(s): 9af3cb6
BIG CHANGES
Browse files
app.py
CHANGED
|
@@ -692,12 +692,9 @@ def process_video_request(request_id: str, form_data: Dict, file_paths: Dict, ap
|
|
| 692 |
editing_plan = plan_result['plan']
|
| 693 |
logger.info(f"Generated Editing Plan Successfully [{request_id}]")
|
| 694 |
|
| 695 |
-
# --- 4.
|
| 696 |
-
update_progress(request_id, "
|
| 697 |
-
logger.info(f"
|
| 698 |
-
|
| 699 |
-
if not ONEDRIVE_CLIENT_ID:
|
| 700 |
-
raise ValueError("ONEDRIVE_CLIENT_ID environment variable is not set. Cannot upload to OneDrive.")
|
| 701 |
|
| 702 |
# Build source_to_filename mapping (source key -> original filename)
|
| 703 |
source_to_filename = {}
|
|
|
|
| 692 |
editing_plan = plan_result['plan']
|
| 693 |
logger.info(f"Generated Editing Plan Successfully [{request_id}]")
|
| 694 |
|
| 695 |
+
# --- 4. Save Clipchamp project locally ---
|
| 696 |
+
update_progress(request_id, "SAVING", "Building and saving Clipchamp project locally...")
|
| 697 |
+
logger.info(f"Saving Clipchamp project for request [{request_id}]")
|
|
|
|
|
|
|
|
|
|
| 698 |
|
| 699 |
# Build source_to_filename mapping (source key -> original filename)
|
| 700 |
source_to_filename = {}
|