Month: March 2025

whisper,提取视频文案

import os import subprocess import whisper import torch from zhconv import convert from tqdm import tqdm def extract_audio(video_file): ...

xml to word

从wordpress后台,导出所有文章,格式为xml。再将xml转为word。 import xml.etree.ElementTree as ET from docx import Document def xml_to_word(xml_file_path,...