Add guidelines for multilingual customization.
Browse files
README.md
CHANGED
|
@@ -112,6 +112,7 @@ python gradio_demo.py
|
|
| 112 |
# PLEASE consider trying examples here first - demo with custom mask upload (recommended for first-time users)
|
| 113 |
# This version includes pre-configured examples and is RECOMMENDED for users to first understand how to use the model
|
| 114 |
python gradio_demo_upload_mask.py
|
|
|
|
| 115 |
```
|
| 116 |
|
| 117 |
Below is a preview of the Gradio demo interfaces:
|
|
@@ -120,6 +121,11 @@ Below is a preview of the Gradio demo interfaces:
|
|
| 120 |
<img src="./assets/gradio_preview.png" width="900px" alt="Gradio Demo Preview">
|
| 121 |
</div>
|
| 122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 123 |
**✨User Tips:**
|
| 124 |
|
| 125 |
1. **Speed vs Quality Trade-off.** Use fewer steps (e.g., 10-step which takes ~4s/image on a single A6000 GPU) for faster generation, but quality may be lower.
|
|
|
|
| 112 |
# PLEASE consider trying examples here first - demo with custom mask upload (recommended for first-time users)
|
| 113 |
# This version includes pre-configured examples and is RECOMMENDED for users to first understand how to use the model
|
| 114 |
python gradio_demo_upload_mask.py
|
| 115 |
+
|
| 116 |
```
|
| 117 |
|
| 118 |
Below is a preview of the Gradio demo interfaces:
|
|
|
|
| 121 |
<img src="./assets/gradio_preview.png" width="900px" alt="Gradio Demo Preview">
|
| 122 |
</div>
|
| 123 |
|
| 124 |
+
We also provide a gradio demo enabling multilingual freestyle text customization such as Chinese, which is supported by [TextFLUX](https://github.com/yyyyyxie/textflux). To use this gradio demo, first download [TextFLUX weights](https://huggingface.co/yyyyyxie/textflux-lora/blob/main/pytorch_lora_weights.safetensors) and configure the "textflux_path" entry in "path_dict.json". Then download [the font resource](https://github.com/yyyyyxie/textflux/blob/main/resource/font/Arial-Unicode-Regular.ttf) to "./resources/" and run:
|
| 125 |
+
```bash
|
| 126 |
+
python gradio_demo_multilingual.py
|
| 127 |
+
```
|
| 128 |
+
|
| 129 |
**✨User Tips:**
|
| 130 |
|
| 131 |
1. **Speed vs Quality Trade-off.** Use fewer steps (e.g., 10-step which takes ~4s/image on a single A6000 GPU) for faster generation, but quality may be lower.
|