Comments (4)
After reinstalling webui app it now works.
I think the problem was that I had Python 3.10.9.
Now it's Python 3.10.6.
Now I can test this extension.
I think using Facebook's MBart translator model is an interesting idea.
from prompt_translator.
Thank you for your message.
It seems to be some problem with your protobuf version. How did you install the webui app? Are you using a custom python initerpreter that you installed by yourself or are you using your own virtual environment or conda environment?
If you use the installer provided with the tool, it should work. I have tested it on two different PCs and I didn't have any trouble with that.
Normally, after downloading the model and the tokenizer, you should see:
Translator ready
On the UI, you should see the list of languages.
The process takes some time to download at first.
My tool uses Facebook's MBart translator model. It allows you to translate offline once downloaded. I didn't want to use google because you need connection and also I have to pay to use it. Since I'm doing this all for free, I've chosen to use an offline model.
from prompt_translator.
@ParisNeo
I used to install
[EmpireMediaScience/A1111-Web-UI-Installer: Complete installer for Automatic1111's infamous Stable Diffusion WebUI]
(https://github.com/EmpireMediaScience/A1111-Web-UI-Installer)
As far as I understand, your code uses an older version of protobuf?
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
I will try to reinstall webui app.
from prompt_translator.
I hope you like it. This evening, I am going to do some upgrades to solve some issues. Thank you for testing this extension :)
from prompt_translator.
Related Issues (20)
- Translation from English into English HOT 7
- 大家先别用,这个插件有BUG。 HOT 3
- 翻译有问题。。。。。请看图片 提示词给的太多了。。。 HOT 3
- Batch issue HOT 2
- good work,but remove the rola tag HOT 1
- Error activating Enable translation HOT 8
- A bug has occurred HOT 8
- like this plugin,but have a bug that LORA missing, and Add Chinese comma convert to English symbol function please. HOT 3
- TypeError: 'method' object is not subscriptable
- Doesn't work HOT 2
- The Russian language does not work HOT 3
- ValueError: Couldn't instantiate the backend tokenizer
- Model is [mbart-large-50-many-to-one-mmt], not [mbart-large-50-one-to-many-mmt] HOT 3
- Wrong negative prompt
- 如何在WebAPI中启用这个插件?
- 无法在sdwebuiapi中使用
- API, auto-detect, NLLB-200 HOT 3
- Is there Thai option? HOT 1
- Error installing dictionary
- Translation error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prompt_translator.