youngtsai commited on
Commit
06d6aec
1 Parent(s): aba0b4d

processed_summary = { "summary": str(summary) }

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -448,7 +448,8 @@ def get_video_id_summary(video_id, df_string):
448
  exists, file_id = check_file_exists(service, folder_id, file_name)
449
  if not exists:
450
  summary = generate_summarise(df_string)
451
- processed_summary = processed_video_summary_to_json(summary)
 
452
  summary_text = json.dumps(processed_summary, ensure_ascii=False, indent=2)
453
  file_id = upload_content_directly(service, file_name, folder_id, summary_text)
454
  print("summary已上傳到Google Drive")
 
448
  exists, file_id = check_file_exists(service, folder_id, file_name)
449
  if not exists:
450
  summary = generate_summarise(df_string)
451
+ # processed_summary = processed_video_summary_to_json(summary)
452
+ processed_summary = { "summary": str(summary) }
453
  summary_text = json.dumps(processed_summary, ensure_ascii=False, indent=2)
454
  file_id = upload_content_directly(service, file_name, folder_id, summary_text)
455
  print("summary已上傳到Google Drive")