Update README.md
Browse files
README.md
CHANGED
|
@@ -77,11 +77,11 @@ python setup.py develop
|
|
| 77 |
> Leveraging a stronger LLM for prompt refinement can further enhance image generation quality. Please refer to [inference_t2i.py](https://github.com/meituan-longcat/LongCat-Image/blob/main/scripts/inference_t2i.py#L28) for detailed usage instructions.
|
| 78 |
|
| 79 |
> [!CAUTION]
|
| 80 |
-
>
|
| 81 |
>
|
| 82 |
-
> For both Text-to-Image and Image Editing tasks involving text generation, **you must enclose the target text within
|
| 83 |
>
|
| 84 |
-
> **
|
| 85 |
|
| 86 |
```python
|
| 87 |
import torch
|
|
|
|
| 77 |
> Leveraging a stronger LLM for prompt refinement can further enhance image generation quality. Please refer to [inference_t2i.py](https://github.com/meituan-longcat/LongCat-Image/blob/main/scripts/inference_t2i.py#L28) for detailed usage instructions.
|
| 78 |
|
| 79 |
> [!CAUTION]
|
| 80 |
+
> **📝 Special Handling for Text Rendering**
|
| 81 |
>
|
| 82 |
+
> For both Text-to-Image and Image Editing tasks involving text generation, **you must enclose the target text within single or double quotation marks** (both English '...' / "..." and Chinese ‘...’ / “...” styles are supported).
|
| 83 |
>
|
| 84 |
+
> **Reasoning:** The model utilizes a specialized **character-level encoding** strategy specifically for quoted content. Failure to use explicit quotation marks prevents this mechanism from triggering, which will severely compromise the text rendering capability.
|
| 85 |
|
| 86 |
```python
|
| 87 |
import torch
|