screenshot_path = f'{OUTPUT_PATH}/{youtube_id}_{snapshot_sec}.jpg' db681b1 youngtsai commited on Jan 26, 2024
html_content += f"<img src='{entry['screenshot_path']}' width='500px' />" 6a6dfe0 youngtsai commited on Jan 26, 2024
html_content = format_transcript_to_html(formatted_transcript) a6ad75a youngtsai commited on Jan 19, 2024
line = f"---- 時間: {start_time} ~ {end_time} ----\n{entry['text']}\n\n" ae369e8 youngtsai commited on Jan 17, 2024
df_summarise = gr.Textbox(container=True, show_copy_button=True, label="資料本文", lines=40) 51d81e0 youngtsai commited on Dec 13, 2023
df_string_output = gr.Textbox(container=True, show_copy_button=True, label="資料本文", lines=20) 4d9c54c youngtsai commited on Dec 13, 2023
user_content = f"請根據 {df_string},大概描述這張表的欄位敘述、資料樣態與資料分析,告訴老師這張表的意義,以及可能的結論與對應方式" 8b6845f youngtsai commited on Dec 13, 2023
json_response = json.loads(response.choices[0].message.content)["questions"] 079aa3a youngtsai commited on Dec 12, 2023
sys_content = f"你是一個資料分析師,請精讀資料,並用既有資料為本質猜測用戶可能會問的問題,使用 zh-TW" 0744061 youngtsai commited on Dec 12, 2023
sys_content = f"你是一個資料分析師,請精讀資料,並用既有資料為本質猜測用戶可能會問的問題,使用 zh-TW" 28e9de2 youngtsai commited on Dec 12, 2023