Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -26,29 +26,7 @@ def query(prompt, is_negative=False, steps=1, cfg_scale=6, seed=None):
|
|
26 |
css = """
|
27 |
"""
|
28 |
|
29 |
-
with gr.Blocks(css=css
|
30 |
-
gr.HTML(
|
31 |
-
"""
|
32 |
-
<div style="text-align: center; margin: 0 auto;">
|
33 |
-
<div
|
34 |
-
style="
|
35 |
-
display: inline-flex;
|
36 |
-
align-items: center;
|
37 |
-
gap: 0.8rem;
|
38 |
-
font-size: 1.75rem;
|
39 |
-
"
|
40 |
-
>
|
41 |
-
<h1 style="font-weight: 900; margin-bottom: 7px;margin-top:5px">
|
42 |
-
DALL•E 3 XL
|
43 |
-
</h1>
|
44 |
-
</div>
|
45 |
-
<p style="margin-bottom: 10px; font-size: 94%; line-height: 23px;">
|
46 |
-
This space demonstrates the work of the model <a style="text-decoration: underline;" href="https://huggingface.co/openskyml/dalle-3-xl">openskyml/dalle-3-xl</a>.
|
47 |
-
</p>
|
48 |
-
</div>
|
49 |
-
"""
|
50 |
-
)
|
51 |
-
|
52 |
with gr.Row():
|
53 |
image_output = gr.Image(type="pil", label="Output Image", elem_id="gallery")
|
54 |
with gr.Column(elem_id="prompt-container"):
|
|
|
26 |
css = """
|
27 |
"""
|
28 |
|
29 |
+
with gr.Blocks(css=css) as dalle:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
with gr.Row():
|
31 |
image_output = gr.Image(type="pil", label="Output Image", elem_id="gallery")
|
32 |
with gr.Column(elem_id="prompt-container"):
|