ironjr commited on
Commit
8ce3f3b
Β·
verified Β·
1 Parent(s): 238332d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -490,6 +490,10 @@ css = f"""
490
  #share-btn-container .wrap {{
491
  display: none !important;
492
  }}
 
 
 
 
493
  """
494
 
495
  for i in range(opt.max_palettes + 1):
@@ -554,7 +558,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
554
  """
555
  <div style="display: flex; justify-content: center; align-items: center; text-align: center;">
556
  <div>
557
- <h1>🧠 Semantic Paint <b>X</b> Animagine XL 3.1 🎨</h1>
558
  <h5 style="margin: 0;">powered by</h5>
559
  <h3 style="margin-bottom: 0;">StreamMultiDiffusion: Real-Time Interactive Generation with Region-Based Semantic Control &nbsp; <em>and</em></h3>
560
  <h3 style="margin-top: 0;">Animagine XL 3.1 by Cagliostro Research Lab</h3>
@@ -715,7 +719,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
715
  gr.HTML(community_icon_html)
716
  gr.HTML(loading_icon_html)
717
  iface.btn_share = gr.Button('Share with Community', elem_id='share-btn')
718
- iface.image_b64 = gr.Textbox(visible=False, elem_id='output-b64')
719
 
720
  iface.model_select = gr.Radio(
721
  list(model_dict.keys()),
 
490
  #share-btn-container .wrap {{
491
  display: none !important;
492
  }}
493
+
494
+ #output-b64 {{
495
+ display: none !important;
496
+ }}
497
  """
498
 
499
  for i in range(opt.max_palettes + 1):
 
558
  """
559
  <div style="display: flex; justify-content: center; align-items: center; text-align: center;">
560
  <div>
561
+ <h1>πŸ”₯🧠 Semantic Paint <b>X</b> Animagine XL 3.1 🎨πŸ”₯</h1>
562
  <h5 style="margin: 0;">powered by</h5>
563
  <h3 style="margin-bottom: 0;">StreamMultiDiffusion: Real-Time Interactive Generation with Region-Based Semantic Control &nbsp; <em>and</em></h3>
564
  <h3 style="margin-top: 0;">Animagine XL 3.1 by Cagliostro Research Lab</h3>
 
719
  gr.HTML(community_icon_html)
720
  gr.HTML(loading_icon_html)
721
  iface.btn_share = gr.Button('Share with Community', elem_id='share-btn')
722
+ iface.image_b64 = gr.Textbox(elem_id='output-b64')
723
 
724
  iface.model_select = gr.Radio(
725
  list(model_dict.keys()),