Add files using upload-large-folder tool
Browse files
README.md
CHANGED
|
@@ -15,8 +15,11 @@ library_name: transformers
|
|
| 15 |
<div align="center" style="line-height: 1;">
|
| 16 |
|
| 17 |
[//]: # ( <a href='https://meituan-longcat.github.io/LongCat-Image/'><img src='https://img.shields.io/badge/Project-Page-green'></a>)
|
| 18 |
-
<a href='https://arxiv.org/abs/'><img src='https://img.shields.io/badge/
|
| 19 |
<a href='https://huggingface.co/meituan-longcat/LongCat-Image'><img src='https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Model-blue'></a>
|
|
|
|
|
|
|
|
|
|
| 20 |
</div>
|
| 21 |
|
| 22 |
<div align="center" style="line-height: 1;">
|
|
@@ -100,7 +103,7 @@ image = pipe(
|
|
| 100 |
num_images_per_prompt=1,
|
| 101 |
generator=torch.Generator("cpu").manual_seed(43),
|
| 102 |
enable_cfg_renorm=True,
|
| 103 |
-
enable_prompt_rewrite=True
|
| 104 |
).images[0]
|
| 105 |
image.save('./t2i_example.png')
|
| 106 |
```
|
|
|
|
| 15 |
<div align="center" style="line-height: 1;">
|
| 16 |
|
| 17 |
[//]: # ( <a href='https://meituan-longcat.github.io/LongCat-Image/'><img src='https://img.shields.io/badge/Project-Page-green'></a>)
|
| 18 |
+
<a href='https://arxiv.org/abs/'><img src='https://img.shields.io/badge/Technical-Report-red'></a>
|
| 19 |
<a href='https://huggingface.co/meituan-longcat/LongCat-Image'><img src='https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Model-blue'></a>
|
| 20 |
+
<a href='https://huggingface.co/meituan-longcat/LongCat-Image-Dev'><img src='https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Dev-blue'></a>
|
| 21 |
+
<a href='https://huggingface.co/meituan-longcat/LongCat-Image-Edit'><img src='https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Edit-blue'></a>
|
| 22 |
+
<a href='https://github.com/meituan-longcat/LongCat-Image'><img src='https://img.shields.io/badge/GitHub-Code-black'></a>
|
| 23 |
</div>
|
| 24 |
|
| 25 |
<div align="center" style="line-height: 1;">
|
|
|
|
| 103 |
num_images_per_prompt=1,
|
| 104 |
generator=torch.Generator("cpu").manual_seed(43),
|
| 105 |
enable_cfg_renorm=True,
|
| 106 |
+
enable_prompt_rewrite=True # Reusing the text encoder as a built-in prompt rewriter
|
| 107 |
).images[0]
|
| 108 |
image.save('./t2i_example.png')
|
| 109 |
```
|