Omer Karisman commited on
Commit
127f52e
1 Parent(s): e0c5307
Files changed (1) hide show
  1. app.py +5 -1
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
+ [![Buy me a coffee](https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20coffee&emoji=&slug=vk654cf2pv8&button_colour=BD5FFF&font_colour=ffffff&font_family=Bree&outline_colour=000000&coffee_colour=FFDD00)](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():