Update app.py
Browse files
app.py
CHANGED
@@ -34,10 +34,38 @@ css=""""""
|
|
34 |
|
35 |
|
36 |
with gr.Blocks(css=css) as myface:
|
37 |
-
gr.HTML("""
|
38 |
-
|
39 |
-
|
40 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
""")
|
42 |
with gr.Row():
|
43 |
with gr.Column(scale=100):
|
|
|
34 |
|
35 |
|
36 |
with gr.Blocks(css=css) as myface:
|
37 |
+
gr.HTML("""
|
38 |
+
<div style="text-align: center; max-width: 1200px; margin: 0 auto;">
|
39 |
+
<div>
|
40 |
+
<style>
|
41 |
+
h1 {
|
42 |
+
font-size: 6em;
|
43 |
+
color: #ffffff;
|
44 |
+
margin-top: 30px;
|
45 |
+
margin-bottom: 30px;
|
46 |
+
text-shadow: 3px 3px 0 rgba(0, 0, 0, 1) !important;
|
47 |
+
}
|
48 |
+
.gradio-container {
|
49 |
+
color: #ffaa66 !important;
|
50 |
+
background-color: #660099 !important;
|
51 |
+
font-family: 'IBM Plex Sans', sans-serif !important;
|
52 |
+
}
|
53 |
+
</style>
|
54 |
+
<body>
|
55 |
+
<div class="center"><h1>ToyWorld XL 401</h1>
|
56 |
+
</div>
|
57 |
+
</body>
|
58 |
+
</div>
|
59 |
+
<p style="margin-bottom: 10px; color: #ffffff;">
|
60 |
+
If you have an idea, put it on the first box to expand it, if you have a full prompt, you can leave the first box empty and just put it on the second one and click generate images!
|
61 |
+
Noise Level: Controls how much randomness is added to the input of the boxes after the first one before it is sent to the model, so you can get 6 unique 768x768 images. Higher noise level produces more diverse outputs, while lower noise level produces similar outputs,
|
62 |
+
<a href="https://twitter.com/DavidJohnstonxx/">original space created by Phenomenon1981</a>.
|
63 |
+
</p>
|
64 |
+
<p style="margin-bottom: 10px; color: #ffaa66; font-size: 98%">
|
65 |
+
❤️ Press the Like Button if you enjoy my space! ❤️</a>
|
66 |
+
</p>
|
67 |
+
</div>
|
68 |
+
|
69 |
""")
|
70 |
with gr.Row():
|
71 |
with gr.Column(scale=100):
|