Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -756,7 +756,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css, head=head) as demo:
|
|
| 756 |
state.seed = opt.seed
|
| 757 |
return state
|
| 758 |
|
| 759 |
-
state = gr.State(value=_define_state)
|
| 760 |
|
| 761 |
|
| 762 |
### Demo user interface
|
|
@@ -765,11 +765,11 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css, head=head) as demo:
|
|
| 765 |
"""
|
| 766 |
<div style="display: flex; justify-content: center; align-items: center; text-align: center;">
|
| 767 |
<div>
|
| 768 |
-
<h1>🦦🦦
|
| 769 |
<h5 style="margin: 0;">If you ❤️ our project, please visit our Github and give us a 🌟!</h5>
|
| 770 |
</br>
|
| 771 |
<div style="display: flex; justify-content: center; align-items: center; text-align: center;">
|
| 772 |
-
<a href='https://jaerinlee.com/research/
|
| 773 |
<img src='https://img.shields.io/badge/Project-Page-green' alt='Project Page'>
|
| 774 |
</a>
|
| 775 |
|
|
@@ -777,8 +777,8 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css, head=head) as demo:
|
|
| 777 |
<img src="https://img.shields.io/badge/arXiv-2403.09055-red">
|
| 778 |
</a>
|
| 779 |
|
| 780 |
-
<a href='https://github.com/ironjr/
|
| 781 |
-
<img src='https://img.shields.io/github/stars/ironjr/
|
| 782 |
</a>
|
| 783 |
|
| 784 |
<a href='https://twitter.com/_ironjr_'>
|
|
@@ -789,8 +789,12 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css, head=head) as demo:
|
|
| 789 |
<img src='https://img.shields.io/badge/license-MIT-lightgrey'>
|
| 790 |
</a>
|
| 791 |
|
| 792 |
-
<a href='https://huggingface.co/spaces/ironjr/
|
| 793 |
-
<img src='https://img.shields.io/badge/%F0%9F%A4%97%20Demo-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 794 |
</a>
|
| 795 |
</div>
|
| 796 |
</div>
|
|
@@ -895,6 +899,8 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css, head=head) as demo:
|
|
| 895 |
label='Semantic Drawpad',
|
| 896 |
elem_id='drawpad',
|
| 897 |
layers=False,
|
|
|
|
|
|
|
| 898 |
)
|
| 899 |
|
| 900 |
# with gr.Accordion(label='Prompt Engineering', open=False):
|
|
|
|
| 756 |
state.seed = opt.seed
|
| 757 |
return state
|
| 758 |
|
| 759 |
+
state = gr.State(value=_define_state())
|
| 760 |
|
| 761 |
|
| 762 |
### Demo user interface
|
|
|
|
| 765 |
"""
|
| 766 |
<div style="display: flex; justify-content: center; align-items: center; text-align: center;">
|
| 767 |
<div>
|
| 768 |
+
<h1>🦦🦦 SemanticDraw: Towards Real-Time Interactive Content Creation from Image Diffusion Models 🦦🦦</h1>
|
| 769 |
<h5 style="margin: 0;">If you ❤️ our project, please visit our Github and give us a 🌟!</h5>
|
| 770 |
</br>
|
| 771 |
<div style="display: flex; justify-content: center; align-items: center; text-align: center;">
|
| 772 |
+
<a href='https://jaerinlee.com/research/semantic-draw'>
|
| 773 |
<img src='https://img.shields.io/badge/Project-Page-green' alt='Project Page'>
|
| 774 |
</a>
|
| 775 |
|
|
|
|
| 777 |
<img src="https://img.shields.io/badge/arXiv-2403.09055-red">
|
| 778 |
</a>
|
| 779 |
|
| 780 |
+
<a href='https://github.com/ironjr/semantic-draw'>
|
| 781 |
+
<img src='https://img.shields.io/github/stars/ironjr/semantic-draw?label=Github&color=blue'>
|
| 782 |
</a>
|
| 783 |
|
| 784 |
<a href='https://twitter.com/_ironjr_'>
|
|
|
|
| 789 |
<img src='https://img.shields.io/badge/license-MIT-lightgrey'>
|
| 790 |
</a>
|
| 791 |
|
| 792 |
+
<a href='https://huggingface.co/spaces/ironjr/semantic-draw-canvas-sdxl'>
|
| 793 |
+
<img src='https://img.shields.io/badge/%F0%9F%A4%97%20Demo-CanvasSDXL-yellow'>
|
| 794 |
+
</a>
|
| 795 |
+
|
| 796 |
+
<a href='https://huggingface.co/spaces/ironjr/semantic-draw-canvas-sd3'>
|
| 797 |
+
<img src='https://img.shields.io/badge/%F0%9F%A4%97%20Demo-CanvasSD3-yellow'>
|
| 798 |
</a>
|
| 799 |
</div>
|
| 800 |
</div>
|
|
|
|
| 899 |
label='Semantic Drawpad',
|
| 900 |
elem_id='drawpad',
|
| 901 |
layers=False,
|
| 902 |
+
height=600,
|
| 903 |
+
width=512,
|
| 904 |
)
|
| 905 |
|
| 906 |
# with gr.Accordion(label='Prompt Engineering', open=False):
|