如果是影片類型,請提估影片內容,告訴學生這部影片的意義,切出不同段落的相對應時間軸的重點摘要,以及可能的結論與結尾小問答提供學生作反思 99d0f80 youngtsai commited on Feb 7, 2024
youtube_link.change(process_youtube_link, inputs=youtube_link, outputs=[btn_1, btn_2, btn_3, df_string_output, df_summarise, transcript_html, slide_image, slide_text]) 9594b3b youngtsai commited on Feb 7, 2024
screenshot_path = f"https://lh3.googleusercontent.com/d/{img_file_id}=s4000" 3edbe8e youngtsai commited on Feb 6, 2024
screenshot_path = f"https://lh3.googleusercontent.com/d/{img_file_id}=s4000" d52b5e8 youngtsai commited on Feb 6, 2024
prev_button.click(fn=prev_slide, inputs=[], outputs=[image, text]) 6afedbf youngtsai commited on Feb 5, 2024
from youtube_transcript_api._errors import NoTranscriptFound d363c44 youngtsai commited on Feb 5, 2024
df_string_output = json.dumps(transcript, ensure_ascii=False, indent=2) a9eaf66 youngtsai commited on Feb 4, 2024
screenshot_path = f"https://drive.google.com/thumbnail?id={img_file_id}&sz=s4000" ae88c8d youngtsai commited on Feb 4, 2024
img_src = f"https://drive.google.com/thumbnail?id={img_file_id}&sz=s4000" 5408edf youngtsai commited on Feb 4, 2024
screenshot_path = screenshot_youtube_video(video_id, entry['start']) d346e8c youngtsai commited on Feb 4, 2024
upload_img_directly(service, file_name, folder_id, screenshot_path) a028c47 youngtsai commited on Feb 4, 2024
transcript_text = json.dumps(transcript, ensure_ascii=False, indent=2) 474b2c8 youngtsai commited on Feb 4, 2024
def upload_to_drive(service, file_name, folder_id, content): 02dd3ba youngtsai commited on Feb 4, 2024
def upload_to_drive(service, file_name, folder_id, content): 2fd09c9 youngtsai commited on Feb 4, 2024
folder_id = create_folder_if_not_exists(service, video_id, parent_folder_id) 7ed5900 youngtsai commited on Feb 4, 2024