youngtsai commited on
Commit
642f40d
1 Parent(s): 2df824b

raise gr.Error("test")

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -445,6 +445,7 @@ def process_transcript_and_screenshots_on_gcs(video_id):
445
  destination_blob_name = f"{video_id}/{file_name}"
446
  upload_file_to_gcs_with_json_string(gcs_client, bucket_name, destination_blob_name, transcript_text)
447
 
 
448
  # # 处理逐字稿中的每个条目,检查并上传截图 到 GCS,然後設定 GCS 權限
449
  # for entry in transcript:
450
  # if 'img_file_id' not in entry:
 
445
  destination_blob_name = f"{video_id}/{file_name}"
446
  upload_file_to_gcs_with_json_string(gcs_client, bucket_name, destination_blob_name, transcript_text)
447
 
448
+ raise gr.Error("test")
449
  # # 处理逐字稿中的每个条目,检查并上传截图 到 GCS,然後設定 GCS 權限
450
  # for entry in transcript:
451
  # if 'img_file_id' not in entry: