Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -172,10 +172,8 @@ def clear_fn():
|
|
| 172 |
|
| 173 |
with gr.Blocks(css="cake.css") as myface:
|
| 174 |
with gr.Column():
|
| 175 |
-
gr.HTML("""<title>
|
| 176 |
-
gr.Markdown("""<center><h1>Diffusion</h1><center>""")
|
| 177 |
-
gr.Markdown("""<center><h3>So much Diffusion</h3><center>""")
|
| 178 |
-
#time_s = gr.Markdown("""<center><h4>Now Featuring: Non-clogging Queue!</h4></center><br>""")
|
| 179 |
with gr.Accordion("Details",open=False):
|
| 180 |
with gr.Tab("Description"):
|
| 181 |
gr.Markdown("""<center>
|
|
@@ -183,7 +181,7 @@ with gr.Blocks(css="cake.css") as myface:
|
|
| 183 |
When you are satisfied with the prompt that is in the "Text to Image" box, click "Launch" to load the Models.<br><br>
|
| 184 |
Images load faster with a simpler prompt.<br>
|
| 185 |
<br>
|
| 186 |
-
Images will
|
| 187 |
<br>
|
| 188 |
<br>
|
| 189 |
Not responsible for content, use at your own risk.
|
|
@@ -197,19 +195,25 @@ with gr.Blocks(css="cake.css") as myface:
|
|
| 197 |
</h4></div>""")
|
| 198 |
with gr.Tab("Credits"):
|
| 199 |
with gr.Row():
|
| 200 |
-
gr.Column()
|
| 201 |
with gr.Column(style="text-align:left;"):
|
| 202 |
gr.HTML("""
|
| 203 |
<div style="vertical-align:center">
|
| 204 |
<br>
|
| 205 |
-
<p>
|
| 206 |
<p><a href="https://huggingface.co/spaces/anzorq/finetuned_diffusion">Finetuned Diffusion</a></p>
|
| 207 |
<p><a href="https://huggingface.co/spaces/Gustavosta/MagicPrompt-Stable-Diffusion">Magic Prompt Stable Diffusion</a></p>
|
| 208 |
<p><a href="https://huggingface.co/spaces/huggingface-projects/magic-diffusion">Magic Diffusion</a></p>
|
| 209 |
<p>Models by <a href="https://huggingface.co/Gustavosta">@Gustavosta</a>, <a href="https://twitter.com/haruu1367">@haruu1367</a>, <a href="https://twitter.com/DGSpitzer">@Helixngc7293</a>, <a href="https://twitter.com/dal_mack">@dal_mack</a>, <a href="https://twitter.com/prompthero">@prompthero</a> and others.</p>
|
| 210 |
</div>
|
| 211 |
""")
|
| 212 |
-
gr.Column()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 213 |
with gr.Tab("Tools"):
|
| 214 |
with gr.Tab("View"):
|
| 215 |
with gr.Row():
|
|
|
|
| 172 |
|
| 173 |
with gr.Blocks(css="cake.css") as myface:
|
| 174 |
with gr.Column():
|
| 175 |
+
gr.HTML("""<title>Top 20 Diffuion</title>""")
|
| 176 |
+
gr.Markdown("""<center><h1>Top 20 Diffusion</h1><center>""")
|
|
|
|
|
|
|
| 177 |
with gr.Accordion("Details",open=False):
|
| 178 |
with gr.Tab("Description"):
|
| 179 |
gr.Markdown("""<center>
|
|
|
|
| 181 |
When you are satisfied with the prompt that is in the "Text to Image" box, click "Launch" to load the Models.<br><br>
|
| 182 |
Images load faster with a simpler prompt.<br>
|
| 183 |
<br>
|
| 184 |
+
Images will cancel loading at 3 minutes to preserve the quality of the queue.
|
| 185 |
<br>
|
| 186 |
<br>
|
| 187 |
Not responsible for content, use at your own risk.
|
|
|
|
| 195 |
</h4></div>""")
|
| 196 |
with gr.Tab("Credits"):
|
| 197 |
with gr.Row():
|
|
|
|
| 198 |
with gr.Column(style="text-align:left;"):
|
| 199 |
gr.HTML("""
|
| 200 |
<div style="vertical-align:center">
|
| 201 |
<br>
|
| 202 |
+
<p>Regards to:
|
| 203 |
<p><a href="https://huggingface.co/spaces/anzorq/finetuned_diffusion">Finetuned Diffusion</a></p>
|
| 204 |
<p><a href="https://huggingface.co/spaces/Gustavosta/MagicPrompt-Stable-Diffusion">Magic Prompt Stable Diffusion</a></p>
|
| 205 |
<p><a href="https://huggingface.co/spaces/huggingface-projects/magic-diffusion">Magic Diffusion</a></p>
|
| 206 |
<p>Models by <a href="https://huggingface.co/Gustavosta">@Gustavosta</a>, <a href="https://twitter.com/haruu1367">@haruu1367</a>, <a href="https://twitter.com/DGSpitzer">@Helixngc7293</a>, <a href="https://twitter.com/dal_mack">@dal_mack</a>, <a href="https://twitter.com/prompthero">@prompthero</a> and others.</p>
|
| 207 |
</div>
|
| 208 |
""")
|
| 209 |
+
with gr.Column(style="text-align:left;"):
|
| 210 |
+
gr.HTML(f"""
|
| 211 |
+
<div style="vertical-align:center">
|
| 212 |
+
<br>
|
| 213 |
+
<p>Models by:
|
| 214 |
+
<p><a href=f"https://huggingface.co/{models[1]}">{models[1]}</a></p>
|
| 215 |
+
</div>
|
| 216 |
+
""")
|
| 217 |
with gr.Tab("Tools"):
|
| 218 |
with gr.Tab("View"):
|
| 219 |
with gr.Row():
|