Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -113,15 +113,15 @@ with gr.Blocks(css='style.css') as demo:
|
|
113 |
"""
|
114 |
<div style="text-align: center; max-width: 1200px; margin: 0 auto;">
|
115 |
<div>
|
116 |
-
<h1 style="color: #ffaa66
|
117 |
DreamAnything
|
118 |
</h1>
|
119 |
</div>
|
120 |
-
<p style="margin-bottom: 10px;
|
121 |
-
Noise Level: Controls how much randomness is added to the input before it is sent to the model. Higher noise level produces more diverse outputs, while lower noise level produces similar outputs,
|
122 |
-
<a href="https://twitter.com/DavidJohnstonxx/">created by Phenomenon1981</a>.
|
123 |
</p>
|
124 |
-
<p style="margin-bottom: 10px; font-size: 98%">
|
125 |
❤️ Press the Like Button if you enjoy my space! ❤️</a>
|
126 |
</p>
|
127 |
</div>
|
@@ -157,16 +157,16 @@ with gr.Blocks(css='style.css') as demo:
|
|
157 |
noise_level = gr.Slider(minimum=0.2, maximum=3, step=0.1, label="Noise Level (0.1 or less was generating the same pic 6 times! 🤣)")
|
158 |
with gr.Row():
|
159 |
with gr.Row():
|
160 |
-
output1=gr.Image(label="
|
161 |
-
output2=gr.Image(label="
|
162 |
with gr.Row():
|
163 |
with gr.Row():
|
164 |
-
output3=gr.Image(label="
|
165 |
-
output4=gr.Image(label="
|
166 |
with gr.Row():
|
167 |
with gr.Row():
|
168 |
-
output5=gr.Image(label="
|
169 |
-
output6=gr.Image(label="
|
170 |
|
171 |
see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt], queue=False)
|
172 |
run.click(send_it1, inputs=[prompt, noise_level], outputs=[output1])
|
@@ -180,7 +180,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
180 |
gr.HTML(
|
181 |
"""
|
182 |
<div class="footer">
|
183 |
-
<p> Demo for <a href="https://huggingface.co/
|
184 |
</p>
|
185 |
</div>
|
186 |
<div class="acknowledgments" style="font-size: 115%">
|
|
|
113 |
"""
|
114 |
<div style="text-align: center; max-width: 1200px; margin: 0 auto;">
|
115 |
<div>
|
116 |
+
<h1 style="font-size: 3rem; color: #ffaa66; font-weight: 900; margin-bottom:20px;">
|
117 |
DreamAnything
|
118 |
</h1>
|
119 |
</div>
|
120 |
+
<p style="margin-bottom: 10px; color: #ffaa66;">
|
121 |
+
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,
|
122 |
+
<a href="https://twitter.com/DavidJohnstonxx/">original space created by Phenomenon1981</a>.
|
123 |
</p>
|
124 |
+
<p style="margin-bottom: 10px; color: #ffaa66; font-size: 98%">
|
125 |
❤️ Press the Like Button if you enjoy my space! ❤️</a>
|
126 |
</p>
|
127 |
</div>
|
|
|
157 |
noise_level = gr.Slider(minimum=0.2, maximum=3, step=0.1, label="Noise Level (0.1 or less was generating the same pic 6 times! 🤣)")
|
158 |
with gr.Row():
|
159 |
with gr.Row():
|
160 |
+
output1=gr.Image(label="DreamAnything",show_label=False,min_width=640)
|
161 |
+
output2=gr.Image(label="DreamAnything",show_label=False,min_width=640)
|
162 |
with gr.Row():
|
163 |
with gr.Row():
|
164 |
+
output3=gr.Image(label="DreamAnything",show_label=False,min_width=640)
|
165 |
+
output4=gr.Image(label="DreamAnything",show_label=False,min_width=640)
|
166 |
with gr.Row():
|
167 |
with gr.Row():
|
168 |
+
output5=gr.Image(label="DreamAnything",show_label=False,min_width=640)
|
169 |
+
output6=gr.Image(label="DreamAnything",show_label=False,min_width=640)
|
170 |
|
171 |
see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt], queue=False)
|
172 |
run.click(send_it1, inputs=[prompt, noise_level], outputs=[output1])
|
|
|
180 |
gr.HTML(
|
181 |
"""
|
182 |
<div class="footer">
|
183 |
+
<p> Demo for <a href="https://huggingface.co/Yntec/DreamAnything">DreamAnything</a> Stable Diffusion model
|
184 |
</p>
|
185 |
</div>
|
186 |
<div class="acknowledgments" style="font-size: 115%">
|