jianchang512 / ott Goto Github PK
View Code? Open in Web Editor NEWApi tool for local offline text translation supporting multiple languages/支持多语言的本地离线文字翻译api
Home Page: https://pyvideotrans.com
License: MIT License
Api tool for local offline text translation supporting multiple languages/支持多语言的本地离线文字翻译api
Home Page: https://pyvideotrans.com
License: MIT License
就是在打印“ Running on http://127.0.0.1:9911 “的时候自动打开浏览器并进入对应的网站
我试了一下用Windows batch 脚本来实现这个功能,但是做不到
我预计不会使用到葡萄牙语、阿拉伯语、印度语等,大量翻译包的下载导致安装缓慢,目前是否支持只下载一部分翻译包呢?
具体错误:
ERROR:apscheduler.executors.default:Job "remove_translated_files (trigger: interval[0:30:00], next run at: 2024-07-29 07:53:19 CST)" raised an exception
Traceback (most recent call last):
File "apscheduler\executors\base.py", line 125, in run_job
File "libretranslate\remove_translated_files.py", line 12, in remove_translated_files
for f in os.listdir(upload_dir):
FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'C:\Users\xxx\AppData\Local\Temp\libretranslate-files-translate'
Updating language models
(URLError(gaierror(-3, 'Temporary failure in name resolution')),)
Found 88 models
Keep 10 models
Downloading Chinese → English (1.9) ...
(URLError(gaierror(-3, 'Temporary failure in name resolution')),)
(URLError(gaierror(-3, 'Temporary failure in name resolution')),)
(URLError(gaierror(-3, 'Temporary failure in name resolution')),)
(URLError(gaierror(-3, 'Temporary failure in name resolution')),)
Cannot update models (normal if you're offline): Download failed for Chinese → English
list index out of range
WARNING:root:Exception raised while handling cache file 'db\sessions\02c2f051e845b2376eef8224b758c4b2'
Traceback (most recent call last):
File "cachelib\file.py", line 158, in _remove_older
PermissionError: [WinError 32] 另一个程序正在使用此文件,进程无法访问。: 'db\sessions\02c2f051e845b2376eef8224b758c4b2'
执行
pip install torch==2.1.2 --index-url https://download.pytorch.org/whl/cu121
爆
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
libretranslate 1.5.5 requires torch==2.0.1, but you have torch 2.1.2+cu121 which is incompatible.
我想要翻译文件但是……失败了。
In pyvideotrans in settings other translate api use GET request. In OTT use POST request. How i can change this?
sry. i find it))
这个翻译结果有点糟糕,不知道为什么。
When I read the comments section, I am deeply aware of the diversity and uniqueness of the post-80 generation. Some of them have taken on parental responsibilities, some are unmarried and free, and others are actively engaged in the new phase of child-rearing. This fully reflects the unique pace and choices of each individual at different stages of life. In any case, the essence of life is an individual experience, and no fixed pattern of life can be applied to all. Above all, each person should live his or her life in accordance with his or her inner pursuit and rhythm, and as long as he or she is happy and full, that is the best way of life. Life is, after all, the most comforting when it suits itself, as if it were water. What do you have to say about that
如果可以的话怎么设置?
例如:Ongoing Phase I development confirmed per R-Pharm pipeline,https://www.r-pharm.com/en/pipeline
https前面有逗号、换行符就可能出现:
”互联网档案馆的存檔,存档日期2013-12-02“
”(中文(简体) )“
等等
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.