Spaces:
Runtime error
Runtime error
Header addition
Browse files
app.py
CHANGED
@@ -243,10 +243,37 @@ else:
|
|
243 |
pipe = None
|
244 |
|
245 |
with gr.Blocks(css="style.css") as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
246 |
gr.Markdown(
|
247 |
f"""Gradio demo for [Pony Diffusion V6](https://civitai.com/models/257749/pony-diffusion-v6-xl/) with image gallery, json support, and advanced options.""",
|
248 |
elem_id="subtitle",
|
249 |
)
|
|
|
250 |
gr.DuplicateButton(
|
251 |
value="Duplicate Space for private use",
|
252 |
elem_id="duplicate-button",
|
|
|
243 |
pipe = None
|
244 |
|
245 |
with gr.Blocks(css="style.css") as demo:
|
246 |
+
gr.HTML("""
|
247 |
+
<header id="site-header">
|
248 |
+
<nav>
|
249 |
+
<a href="https://sergidev.me">
|
250 |
+
<img
|
251 |
+
src="https://myamber.cloud/life/v1/file?query=%7B%22token%22%3A%227f2b2ba3ef1651d299c9d5a683e8b68c%22%2C%22root%22%3A%22cloud%22%2C%22path%22%3A%22%2Fshared-to%2Ff8b4f187-ec556f6f%22%7D"
|
252 |
+
alt="Logo"
|
253 |
+
/>
|
254 |
+
</a>
|
255 |
+
<h1>HDiffusion</h1>
|
256 |
+
<div class="mode-switch">
|
257 |
+
<img
|
258 |
+
src="https://icon-library.com/images/window-icon-png/window-icon-png-0.jpg"
|
259 |
+
id="projects-icon"
|
260 |
+
alt="Projects"
|
261 |
+
/>
|
262 |
+
<img
|
263 |
+
src="https://creazilla-store.fra1.digitaloceanspaces.com/icons/3206440/terminal-icon-sm.png"
|
264 |
+
id="terminal-icon"
|
265 |
+
alt="Terminal"
|
266 |
+
/>
|
267 |
+
</div>
|
268 |
+
</nav>
|
269 |
+
</header>
|
270 |
+
""")
|
271 |
+
|
272 |
gr.Markdown(
|
273 |
f"""Gradio demo for [Pony Diffusion V6](https://civitai.com/models/257749/pony-diffusion-v6-xl/) with image gallery, json support, and advanced options.""",
|
274 |
elem_id="subtitle",
|
275 |
)
|
276 |
+
|
277 |
gr.DuplicateButton(
|
278 |
value="Duplicate Space for private use",
|
279 |
elem_id="duplicate-button",
|