multimodalart HF staff commited on
Commit
d8dbbac
·
1 Parent(s): 916636a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -307,7 +307,7 @@ with gr.Blocks(css="style.css") as demo:
307
 
308
  gr.HTML("""<img style="margin: 0 auto; width: 220px;" src="https://i.imgur.com/zDcvSbg.png" alt="LEDITS SDXL LoRA Photobooth">""")
309
  gr.HTML("""<img style="margin: 0 auto; width: 300px; margin-bottom: .5em; margin-top:-35px" src="https://i.imgur.com/hvZOBzY.png" alt="LEDITS SDXL LoRA Photobooth">""")
310
- gr.HTML("""<img class="background-printing" style="display: none" src="https://i.imgur.com/gqXjjP0.jpg" /> """, elem_id="background_printing_wrapper")
311
  with gr.Box(elem_id="total_box"):
312
  gr.HTML(
313
  """
@@ -331,7 +331,7 @@ with gr.Blocks(css="style.css") as demo:
331
  sega_edited_image = gr.Image(label=f"LEDITS Edited Image", interactive=False, elem_id="output_image", height=512, width=512)
332
  with gr.Column(visible=False) as buttons_area:
333
  with gr.Row(elem_id="buttons_area"):
334
- print_button = gr.HTML('<button onclick="window.print()" class="lg secondary svelte-cmf5ev" id="print" style="width: 100%;margin-bottom:0">Save PDF/Print 🖨️</button>')
335
  run_button = gr.Button("Regenerate with the same picture 🖼️🎲", elem_id="run_again")
336
 
337
 
 
307
 
308
  gr.HTML("""<img style="margin: 0 auto; width: 220px;" src="https://i.imgur.com/zDcvSbg.png" alt="LEDITS SDXL LoRA Photobooth">""")
309
  gr.HTML("""<img style="margin: 0 auto; width: 300px; margin-bottom: .5em; margin-top:-35px" src="https://i.imgur.com/hvZOBzY.png" alt="LEDITS SDXL LoRA Photobooth">""")
310
+ #gr.HTML("""<img class="background-printing" style="display: none" src="https://i.imgur.com/gqXjjP0.jpg" /> """, elem_id="background_printing_wrapper")
311
  with gr.Box(elem_id="total_box"):
312
  gr.HTML(
313
  """
 
331
  sega_edited_image = gr.Image(label=f"LEDITS Edited Image", interactive=False, elem_id="output_image", height=512, width=512)
332
  with gr.Column(visible=False) as buttons_area:
333
  with gr.Row(elem_id="buttons_area"):
334
+ #print_button = gr.HTML('<button onclick="window.print()" class="lg secondary svelte-cmf5ev" id="print" style="width: 100%;margin-bottom:0">Save PDF/Print 🖨️</button>')
335
  run_button = gr.Button("Regenerate with the same picture 🖼️🎲", elem_id="run_again")
336
 
337