aheedsajid commited on
Commit
b657c61
1 Parent(s): ec969e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -21
app.py CHANGED
@@ -22,25 +22,10 @@ def generate_images(prompt, num_images, width, height):
22
 
23
  # Create the Gradio interface
24
  with gr.Blocks() as demo:
25
- gr.HTML("""
26
- <div style="text-align: center;">
27
- <a href="https://go.fiverr.com/visit/?bta=36184&nci=17023" Target="_Top"><img border="0" src="https://fiverr.ck-cdn.com/tn/serve/?cid=35889063" width="600" height="200"></a>
28
- </div>
29
- """)
30
 
31
  with gr.Row():
32
  with gr.Column():
33
  gr.Markdown("## Stable Diffusion 3 - Bulk")
34
- gr.Markdown("""
35
- <div>
36
- <a href="https://go.fiverr.com/visit/?bta=36184&brand=fiverrcpa&landingPage=https%253A%252F%252Fwww.fiverr.com%252Fcategories%252Fprogramming-tech%252Fai-coding%252Fai-applications%253Fsource%253Dcategory_tree" target="_blank" style="display: inline-block;">
37
- <img fetchpriority="high" decoding="async" width="468" height="120" src="https://ziverr.xyz/wp-content/uploads/2024/06/PASSIVE-1.gif" class="attachment-large size-large wp-image-1266" alt="">
38
- </a>
39
- <a href="https://beta.publishers.adsterra.com/referral/UNXJYTziBP" target="_blank" style="display: inline-block;">
40
- <img decoding="async" alt="banner" src="https://landings-cdn.adsterratech.com/referralBanners/gif/468x120_adsterra_reff.gif">
41
- </a>
42
- </div>
43
- """)
44
 
45
  with gr.Column():
46
  prompt = gr.Textbox(label="Prompt", lines=2)
@@ -52,12 +37,6 @@ with gr.Blocks() as demo:
52
  output_grid = gr.Gallery(label="Generated Images", show_label=False, columns=4)
53
  progress_status = gr.Textbox(label="Progress", interactive=False)
54
 
55
- gr.HTML("""
56
- <div style="text-align: center;">
57
- <iframe src="https://www.fiverr.com/gig_widgets?id=U2FsdGVkX1+9vQaosK0mq7xGXzIb/5hdFYIQsmHlpeMwFm5gingveDZKXBz2oJwV7ZwvToxseOx/KzKtr77ryB3qTb83/+GvCyI8OKpZcSgM0sDHzEPlZnqNeu8Db4y/IXlAceA1UcYT5Z3cW5vBLrgJ/WOpyMWSiyfwwMmGngjltQBexcivW7ukRd+/0yos7GCbfGjGdnLPHm2LB/CB9w2mA1i8cVv9LU+UUdj/O5KLRXtnychl9wAMkPTpmwMiyuAfUZy0nbK/Xa5O2UecmCvn7wicTr0TCTpLmIxaEh3YftXOVr9e36OGVYTmy5nlsgujkqJPI7wL0dXfon0ru4kvoycC7UD6m/whMoxrWZOf386qV2eEeXzk3vKO/emXUUfSavtofzSBtjLcyAOVhnHJg27PvVPgvFTQdy0o3F1M0DaHYTVW3Ln45MPYvMSH&affiliate_id=36184&strip_google_tagmanager=true" loading="lazy" data-with-title="false" class="fiverr_nga_frame" frameborder="0" height="350" width="100%" referrerpolicy="no-referrer-when-downgrade" data-mode="random_gigs" onload=" var frame = this; var script = document.createElement('script'); script.addEventListener('load', function() { window.FW_SDK.register(frame); }); script.setAttribute('src', 'https://www.fiverr.com/gig_widgets/sdk'); document.body.appendChild(script); " ></iframe>
58
- </div>
59
- """)
60
-
61
  # Define the interface logic
62
  generate_button.click(generate_images, inputs=[prompt, num_images, width, height], outputs=[output_grid, progress_status])
63
 
 
22
 
23
  # Create the Gradio interface
24
  with gr.Blocks() as demo:
 
 
 
 
 
25
 
26
  with gr.Row():
27
  with gr.Column():
28
  gr.Markdown("## Stable Diffusion 3 - Bulk")
 
 
 
 
 
 
 
 
 
 
29
 
30
  with gr.Column():
31
  prompt = gr.Textbox(label="Prompt", lines=2)
 
37
  output_grid = gr.Gallery(label="Generated Images", show_label=False, columns=4)
38
  progress_status = gr.Textbox(label="Progress", interactive=False)
39
 
 
 
 
 
 
 
40
  # Define the interface logic
41
  generate_button.click(generate_images, inputs=[prompt, num_images, width, height], outputs=[output_grid, progress_status])
42