Spaces:
Runtime error
Runtime error
Mickey Hotalen
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -363,11 +363,10 @@ css = '''
|
|
363 |
|
364 |
#################################################
|
365 |
title = r"""
|
366 |
-
|
367 |
"""
|
368 |
|
369 |
description = r"""
|
370 |
-
<b>Official 🤗 Gradio demo</b> for <a href='https://github.com/HVision-NKU/StoryDiffusion' target='_blank'><b>StoryDiffusion: Consistent Self-Attention for Long-Range Image and Video Generation</b></a>.<br>
|
371 |
❗️❗️❗️[<b>Important</b>] Personalization steps:<br>
|
372 |
1️⃣ Enter a Textual Description for Character, if you add the Ref-Image, making sure to <b>follow the class word</b> you want to customize with the <b>trigger word</b>: `img`, such as: `man img` or `woman img` or `girl img`.<br>
|
373 |
2️⃣ Enter the prompt array, each line corrsponds to one generated image.<br>
|
@@ -376,32 +375,8 @@ description = r"""
|
|
376 |
"""
|
377 |
|
378 |
article = r"""
|
379 |
-
|
380 |
-
If StoryDiffusion is helpful, please help to ⭐ the <a href='https://github.com/HVision-NKU/StoryDiffusion' target='_blank'>Github Repo</a>. Thanks!
|
381 |
-
[](https://github.com/HVision-NKU/StoryDiffusion)
|
382 |
-
---
|
383 |
-
📝 **Citation**
|
384 |
-
<br>
|
385 |
-
If our work is useful for your research, please consider citing:
|
386 |
-
|
387 |
-
```bibtex
|
388 |
-
@article{Zhou2024storydiffusion,
|
389 |
-
title={StoryDiffusion: Consistent Self-Attention for Long-Range Image and Video Generation},
|
390 |
-
author={Zhou, Yupeng and Zhou, Daquan and Cheng, Ming-Ming and Feng, Jiashi and Hou, Qibin},
|
391 |
-
year={2024}
|
392 |
-
}
|
393 |
-
```
|
394 |
-
📋 **License**
|
395 |
-
<br>
|
396 |
-
The Contents you create are under Apache-2.0 LICENSE. The Code are under Attribution-NonCommercial 4.0 International.
|
397 |
-
|
398 |
-
📧 **Contact**
|
399 |
-
<br>
|
400 |
-
If you have any questions, please feel free to reach me out at <b>[email protected]</b>.
|
401 |
"""
|
402 |
version = r"""
|
403 |
-
<h3 align="center">StoryDiffusion Version 0.01 (test version)</h3>
|
404 |
-
|
405 |
<h5 >1. Support image ref image. (Cartoon Ref image is not support now)</h5>
|
406 |
<h5 >2. Support Typesetting Style and Captioning.(By default, the prompt is used as the caption for each image. If you need to change the caption, add a # at the end of each line. Only the part after the # will be added as a caption to the image.)</h5>
|
407 |
<h5 >3. [NC]symbol (The [NC] symbol is used as a flag to indicate that no characters should be present in the generated scene images. If you want do that, prepend the "[NC]" at the beginning of the line. For example, to generate a scene of falling leaves without any character, write: "[NC] The leaves are falling."),Currently, support is only using Textual Description</h5>
|
|
|
363 |
|
364 |
#################################################
|
365 |
title = r"""
|
366 |
+
|
367 |
"""
|
368 |
|
369 |
description = r"""
|
|
|
370 |
❗️❗️❗️[<b>Important</b>] Personalization steps:<br>
|
371 |
1️⃣ Enter a Textual Description for Character, if you add the Ref-Image, making sure to <b>follow the class word</b> you want to customize with the <b>trigger word</b>: `img`, such as: `man img` or `woman img` or `girl img`.<br>
|
372 |
2️⃣ Enter the prompt array, each line corrsponds to one generated image.<br>
|
|
|
375 |
"""
|
376 |
|
377 |
article = r"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
378 |
"""
|
379 |
version = r"""
|
|
|
|
|
380 |
<h5 >1. Support image ref image. (Cartoon Ref image is not support now)</h5>
|
381 |
<h5 >2. Support Typesetting Style and Captioning.(By default, the prompt is used as the caption for each image. If you need to change the caption, add a # at the end of each line. Only the part after the # will be added as a caption to the image.)</h5>
|
382 |
<h5 >3. [NC]symbol (The [NC] symbol is used as a flag to indicate that no characters should be present in the generated scene images. If you want do that, prepend the "[NC]" at the beginning of the line. For example, to generate a scene of falling leaves without any character, write: "[NC] The leaves are falling."),Currently, support is only using Textual Description</h5>
|