Spaces:
Sleeping
Sleeping
updated_transcript_json
Browse files
app.py
CHANGED
@@ -459,8 +459,9 @@ def process_transcript_and_screenshots_on_gcs(video_id):
|
|
459 |
updated_transcript_text = json.dumps(transcript, ensure_ascii=False, indent=2)
|
460 |
upload_file_to_gcs_with_json_string(gcs_client, bucket_name, transcript_blob_name, updated_transcript_text)
|
461 |
print("逐字稿已更新,包括截图链接")
|
|
|
462 |
|
463 |
-
return
|
464 |
|
465 |
|
466 |
|
|
|
459 |
updated_transcript_text = json.dumps(transcript, ensure_ascii=False, indent=2)
|
460 |
upload_file_to_gcs_with_json_string(gcs_client, bucket_name, transcript_blob_name, updated_transcript_text)
|
461 |
print("逐字稿已更新,包括截图链接")
|
462 |
+
updated_transcript_json = json.loads(updated_transcript_text)
|
463 |
|
464 |
+
return updated_transcript_json
|
465 |
|
466 |
|
467 |
|