pip install googletrans==4.0.0-rc1 已经安装,则更新: pip install --upgrade googletrans==4.0.0-rc1 importosfromgoogletransimportTranslatorfromgoogletrans.constantsimportDEFAULT_USER_AGENT#调用谷歌翻译 translator=Translator(service_urls=['translate.google.com'],user_agent=DEFAULT_USER_AGENT)#定义翻译函数 d...
不被PyCharm识别,即使它在我的站点包库中。请帮帮忙。 (我听说了一个允许你访问谷歌翻译的模块--“太棒了!”我想。像往常一样,它没有工作,两个小时后,我安装了另外两个模块(googletrans和另一个),我仍然在努力让它工作。我不明白为什么这会发生在我身上) ...
分别是speedtest、socket、textblob、pygame、pyqrcode、pyshorteners、googletrans、pendulum、fabulous、pywebview。 小F 2021/08/20 4730 网址太长了难看?生成个短网址吧 httpshttp网络安全微信 所谓短网址就是通过一定的算法把很长的网址得到一个很短的网址,点击这个短网址后会跳转到之前的长网址。
result = googletrans(text, config.video['source_language'], config.video['target_language']) logger.info(f"target_language={config.video['target_language']},[translate ok]\n") except Exception as e: logger.error("Translate Error:", str(e)) segments.append(audio_chunk) continue ...
googletrans httpx SpeechRecognition edge-tts Spleeter openai-whisper 简介 这是一个视频翻译工具,可将一种语言的视频翻译为另一种语言和配音的视频。 语音识别基于 openai-whisper 离线模型、文字翻译使用google翻译接口,文字合成语音使用 Microsoft Edge tts,背景音乐去除使用 Spleeter,无需购买任何商业接口,也无需付...
googletrans:谷歌翻译网页版接口; PyQt5/PySide2:图形化界面库 小软件大功能,借助谷歌人工智能的强大力量,翻译质量有保证,几十种语言之间自由切换相互翻译,是居家生活、工作学习的必备良器。 另附下载链接:https://github.com/veelion/transdocx/releases
(unofficial) Googletrans: Free and Unlimited Google translate API for Python. Translates totally free of charge. - ssut/py-googletrans
Try pip install googletrans==4.0.0-rc1 I installed it but now it gives the following error. For those who have the same problem. Just make sure; don't forget to install the working versions (4.0.0-rc1 or 3.1.0a0) in the venv, like me. it took me 1 hour to figure out where I...
(unofficial) Googletrans: Free and Unlimited Google translate API for Python. Translates totally free of charge. - sunghyuk/py-googletrans
This library leverages the existing googletrans library to translate Markdown / HTML. It first encrypt all the HTML tags (so that they're not translated), uses Google Translator to translate the content, then decrypt the content to get back all the HTML tags. Usage In VSCode, open translate...