Spaces:
Runtime error
Runtime error
Omer Karisman
commited on
Commit
Β·
127f52e
1
Parent(s):
e0c5307
Coffee?
Browse files
app.py
CHANGED
|
@@ -165,11 +165,15 @@ def generate(
|
|
| 165 |
return images
|
| 166 |
|
| 167 |
#Move the components in the example fields outside so they are available when gr.Examples is instantiated
|
| 168 |
-
|
|
|
|
|
|
|
| 169 |
|
| 170 |
with gr.Blocks() as demo:
|
| 171 |
gr.Markdown("<h1 style='text-align: center'>Omni Zero</h1>")
|
| 172 |
gr.Markdown("<h4 style='text-align: center'>A diffusion pipeline for zero-shot stylized portrait creation [<a href='https://github.com/okaris/omni-zero' target='_blank'>GitHub</a>], [<a href='https://styleof.com/s/remix-yourself' target='_blank'>StyleOf Remix Yourself</a>]</h4>")
|
|
|
|
|
|
|
| 173 |
with gr.Row():
|
| 174 |
with gr.Column():
|
| 175 |
with gr.Row():
|
|
|
|
| 165 |
return images
|
| 166 |
|
| 167 |
#Move the components in the example fields outside so they are available when gr.Examples is instantiated
|
| 168 |
+
buy_me_a_coffee_button = """
|
| 169 |
+
[](https://www.buymeacoffee.com/vk654cf2pv8)
|
| 170 |
+
"""
|
| 171 |
|
| 172 |
with gr.Blocks() as demo:
|
| 173 |
gr.Markdown("<h1 style='text-align: center'>Omni Zero</h1>")
|
| 174 |
gr.Markdown("<h4 style='text-align: center'>A diffusion pipeline for zero-shot stylized portrait creation [<a href='https://github.com/okaris/omni-zero' target='_blank'>GitHub</a>], [<a href='https://styleof.com/s/remix-yourself' target='_blank'>StyleOf Remix Yourself</a>]</h4>")
|
| 175 |
+
gr.Markdown(buy_me_a_coffee_button)
|
| 176 |
+
|
| 177 |
with gr.Row():
|
| 178 |
with gr.Column():
|
| 179 |
with gr.Row():
|