Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ with gr.Blocks(css=css) as demo:
|
|
59 |
</h1>
|
60 |
</div>
|
61 |
<p style="margin-bottom: 10px; font-size: 94%">
|
62 |
-
Prompt Refinery generates variations of your prompt using <a href="https://huggingface.co/spaces/Gustavosta/MagicPrompt-Stable-Diffusion" target="_blank">MagicPrompt and Stable Diffusion</a>
|
63 |
</p>
|
64 |
</div>""")
|
65 |
|
@@ -68,16 +68,16 @@ with gr.Blocks(css=css) as demo:
|
|
68 |
input_text = gr.Textbox(label="Input text prompt",
|
69 |
lines=2, elem_id="input-text")
|
70 |
with gr.Row():
|
71 |
-
see_prompts = gr.Button("Expand my prompts")
|
72 |
|
73 |
with gr.Column():
|
74 |
text_output = gr.Textbox(
|
75 |
-
label="Expanded text prompts",
|
76 |
lines=8,
|
77 |
elem_id="translated"
|
78 |
)
|
79 |
with gr.Row():
|
80 |
-
diffuse_btn = gr.Button(value="Render Images for My Prompts")
|
81 |
with gr.Column(elem_id="generated-gallery"):
|
82 |
sd_output = gr.Gallery().style(grid=2, height="auto")
|
83 |
with gr.Group(elem_id="share-btn-container"):
|
|
|
59 |
</h1>
|
60 |
</div>
|
61 |
<p style="margin-bottom: 10px; font-size: 94%">
|
62 |
+
🏭 Prompt Refinery generates variations of your prompt using <a href="https://huggingface.co/spaces/Gustavosta/MagicPrompt-Stable-Diffusion" target="_blank">MagicPrompt and Stable Diffusion</a>
|
63 |
</p>
|
64 |
</div>""")
|
65 |
|
|
|
68 |
input_text = gr.Textbox(label="Input text prompt",
|
69 |
lines=2, elem_id="input-text")
|
70 |
with gr.Row():
|
71 |
+
see_prompts = gr.Button("✍️Expand my prompts")
|
72 |
|
73 |
with gr.Column():
|
74 |
text_output = gr.Textbox(
|
75 |
+
label="🏭 Expanded text prompts",
|
76 |
lines=8,
|
77 |
elem_id="translated"
|
78 |
)
|
79 |
with gr.Row():
|
80 |
+
diffuse_btn = gr.Button(value="🏭 Render Images for My Prompts")
|
81 |
with gr.Column(elem_id="generated-gallery"):
|
82 |
sd_output = gr.Gallery().style(grid=2, height="auto")
|
83 |
with gr.Group(elem_id="share-btn-container"):
|