Comments (7)
OK, I'll add this. Nice Idea.
As for the bin file it should be downloaded to your transformers cache directory.
Generally in your home folder /.cache/torch/transformers/
Maybe I should download the model to a local folder for example. That would be eazier to users if they want to uninstall the extension.
I'll remove english from the list. If you use english, just disable the extension.
Actually, this tool uses MBART50 locally on your PC which is cool, since you don't use any internet service and it is 100% free and open source.
Thank you for the comment
from prompt_translator.
I have adressed all the issues you mensioned:
- The model is now downloaded to a subfolder called model in the extension directory, so that it gets removed if you uninstall the extension
- English is removed from the list
- Now you can enable or not the negative prompt translation
Thank you for your valuable comment
from prompt_translator.
Thanks, but after installing your extension, right after launching my Stable Diffusion refuses to work, in the console there is an error:
Traceback (most recent call last):
File "G:\AI\SD\AUTOMATIC1111\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict
output = await app.get_blocks().process_api(
File "G:\AI\SD\AUTOMATIC1111\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1073, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "G:\AI\SD\AUTOMATIC1111\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 962, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
File "G:\AI\SD\AUTOMATIC1111\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py", line 1377, in preprocess
return self.choices.index(x)
ValueError: '' is not in list
After removing the extension, everything works as before.
from prompt_translator.
I'll look it up right now and tell you what's wrong.
from prompt_translator.
Hi and thank you for pointing this out.
I forgot to select a default language that is not English. On py PC it works because I have already run this before so the last language is selected that's why I didn't see it.
I have patched the code and it should work.
Let me know if it works for you
from prompt_translator.
Thanks, everything seems to be working now )
from prompt_translator.
Happy that it works for you. And again, thanks for pointing out the errors. It helped enhancing the tool.
from prompt_translator.
Related Issues (20)
- 大家先别用,这个插件有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.