Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -58,6 +58,10 @@ with gr.Blocks(css=css) as demo:
|
|
58 |
Stable Diffusion Magic Prompt 🎆
|
59 |
</h1>
|
60 |
</div>
|
|
|
|
|
|
|
|
|
61 |
</div>""")
|
62 |
|
63 |
with gr.Row():
|
@@ -69,12 +73,12 @@ with gr.Blocks(css=css) as demo:
|
|
69 |
|
70 |
with gr.Column():
|
71 |
text_output = gr.Textbox(
|
72 |
-
label="
|
73 |
lines=4,
|
74 |
elem_id="translated"
|
75 |
)
|
76 |
with gr.Row():
|
77 |
-
diffuse_btn = gr.Button(value="Diffuse
|
78 |
with gr.Column(elem_id="generated-gallery"):
|
79 |
sd_output = gr.Gallery().style(grid=2, height="auto")
|
80 |
with gr.Group(elem_id="share-btn-container"):
|
|
|
58 |
Stable Diffusion Magic Prompt 🎆
|
59 |
</h1>
|
60 |
</div>
|
61 |
+
<p style="margin-bottom: 10px; font-size: 94%">
|
62 |
+
This Space prettifies your prompt using <a href="https://huggingface.co/spaces/Gustavosta/MagicPrompt-Stable-Diffusion" target="_blank">MagicPrompt</a>
|
63 |
+
and then runs it through Stable Diffusion to create aesthetically pleasing images. Simply enter a few concepts and let it improve your prompt. You can then diffuse the prompt.
|
64 |
+
</p>
|
65 |
</div>""")
|
66 |
|
67 |
with gr.Row():
|
|
|
73 |
|
74 |
with gr.Column():
|
75 |
text_output = gr.Textbox(
|
76 |
+
label="Prettified text prompt",
|
77 |
lines=4,
|
78 |
elem_id="translated"
|
79 |
)
|
80 |
with gr.Row():
|
81 |
+
diffuse_btn = gr.Button(value="Diffuse the Prompt!")
|
82 |
with gr.Column(elem_id="generated-gallery"):
|
83 |
sd_output = gr.Gallery().style(grid=2, height="auto")
|
84 |
with gr.Group(elem_id="share-btn-container"):
|