Yntec commited on
Commit
314c76d
1 Parent(s): 5251921

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -85,14 +85,19 @@ def gen_fnseed(model_str, prompt, seed=1):
85
  loop.close()
86
  return result
87
 
88
- with gr.Blocks() as demo:
 
 
 
 
 
89
 
90
  gr.HTML(
91
  """
92
  <div style="text-align: center; max-width: 1200px; margin: 0 auto;">
93
  <div>
94
  <body>
95
- <div class="center"><p style="margin-bottom: 10px; color: #000000;"><img src="https://huggingface.co/Yntec/DucHaitenLofi/resolve/main/NEW.webp" alt="NEW!" style="width:32px;height:16px;">A tab where you can use seeds has been added!</p>
96
  </div>
97
  </body>
98
  </div>
 
85
  loop.close()
86
  return result
87
 
88
+ css="""
89
+ .wrapper img {font-size: 98% !important; white-space: nowrap !important; text-align: center !important;
90
+ display: inline-block !important; color: #ffffff !important;}
91
+ """
92
+
93
+ with gr.Blocks(css=css) as demo:
94
 
95
  gr.HTML(
96
  """
97
  <div style="text-align: center; max-width: 1200px; margin: 0 auto;">
98
  <div>
99
  <body>
100
+ <div class="wrapper"><p style="margin-bottom: 10px; color: #000000;"><img src="https://huggingface.co/Yntec/DucHaitenLofi/resolve/main/NEW.webp" alt="NEW!" style="width:32px;height:16px;">A tab where you can use seeds has been added!</p>
101
  </div>
102
  </body>
103
  </div>