Update README.md

pull/10/head
Saifeddine ALOUI 2023-03-28 23:06:42 +02:00 committed by GitHub
parent c1a0646630
commit 72449990d0
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. 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-one-to-many-mmt model developed by Meta (formerly Facebook). You can find more information about the model on its Hugging Face model card. 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.