fix readme ref #19

the model refers to should be `mbart-large-50-many-to-one-mmt` to work, not `one-to-many`.
pull/21/head
若苗瞬 2023-04-26 17:11:20 +08:00 committed by GitHub
parent a79548c30c
commit d5a9750e98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ Prompt_translator is an extension for Stable Diffusion Web UI (sd_webui), which
To install prompt_translator, clone the repository or extract the zip file to the extensions folder of the sd_webui mother application.
## Usage
After installing `prompt_translator`, a new entry will be added to the Gradio UI. To use the automatic translation tool, click the "Load Translation Model" button to load the translation model. The translation model used in this tool is the `mbart-large-50-one-to-many-mmt` model developed by Meta (formerly Facebook). You can find more information about the model on its [Hugging Face model card](https://huggingface.co/facebook/mbart-large-50-one-to-many-mmt). Once the model is loaded, a dropdown UI will be displayed, where the user can select the source language of their prompt.
After installing `prompt_translator`, a new entry will be added to the Gradio UI. To use the automatic translation tool, click the "Load Translation Model" button to load the translation model. The translation model used in this tool is the `mbart-large-50-many-to-one-mmt` model developed by Meta (formerly Facebook). You can find more information about the model on its [Hugging Face model card](https://huggingface.co/facebook/mbart-large-50-many-to-one-mmt). Once the model is loaded, a dropdown UI will be displayed, where the user can select the source language of their prompt.
The user can then write their prompt in the desired language and press the "Generate" button to generate the image. The prompt will automatically be translated to English, and the resulting image will look as described in the text.