Calligrapher2025 commited on
Commit
9174ac1
·
verified ·
1 Parent(s): bc63a60

Add the gradio preview and user tips.

Browse files
Files changed (1) hide show
  1. README.md +20 -0
README.md CHANGED
@@ -109,6 +109,26 @@ python gradio_demo.py
109
  python gradio_demo_upload_mask.py
110
  ```
111
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  ## 🎨 Command Line Usage Examples
113
 
114
  ### Self-reference Customization
 
109
  python gradio_demo_upload_mask.py
110
  ```
111
 
112
+ Below is a preview of the Gradio demo interfaces:
113
+
114
+ <div align="center">
115
+ <img src="./assets/gradio_preview.png" width="900px" alt="Gradio Demo Preview">
116
+ </div>
117
+
118
+ **✨User Tips:**
119
+
120
+ 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.
121
+
122
+ 2. **Inpaint Position Freedom.** Inpainting positions are flexible - they don't necessarily need to match the original text locations in the input image.
123
+
124
+ 3. **Iterative Editing.** Drag outputs from the gallery to the Image Editing Panel (clean the Editing Panel first) for quick refinements.
125
+
126
+ 4. **Mask Optimization.** Adjust mask size/aspect ratio to match your desired content. The model tends to fill the masks, and harmonizes the generation with background in terms of color and lighting.
127
+
128
+ 5. **Reference Image Tip.** White-background references improve style consistency - the encoder also considers background context of the given reference image.
129
+
130
+ 6. **Resolution Balance.** Very high-resolution generation sometimes triggers spelling errors. 512/768px are recommended considering the model is trained under the resolution of 512.
131
+
132
  ## 🎨 Command Line Usage Examples
133
 
134
  ### Self-reference Customization