Significant commited on
Commit
f78b154
·
verified ·
1 Parent(s): efc09f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -227,7 +227,7 @@ logo = r"""
227
  # <center><img src='https://photo-maker.github.io/assets/logo.png' alt='PhotoMaker logo' style="width:80px; margin-bottom:10px"></center>
228
  # """
229
  title = r"""
230
- <h1 align="center" style="color:#D46BCA;">Realistic Portrait</h1>
231
  """
232
  #V2: Improved ID Fidelity and Better Controllability than PhotoMaker V1</h1>
233
 
@@ -286,10 +286,18 @@ css = '''
286
  background: linear-gradient(135deg, #CCFED9, #95BAFF);
287
  }
288
 
289
- #submit-btn {
290
  background: #553566 !important; !important;
291
  color: white !important;
292
  }
 
 
 
 
 
 
 
 
293
  '''
294
  with gr.Blocks(css=css) as demo:
295
  gr.Markdown(logo)
 
227
  # <center><img src='https://photo-maker.github.io/assets/logo.png' alt='PhotoMaker logo' style="width:80px; margin-bottom:10px"></center>
228
  # """
229
  title = r"""
230
+ <h1 id="app-title">Realistic Portrait</h1>
231
  """
232
  #V2: Improved ID Fidelity and Better Controllability than PhotoMaker V1</h1>
233
 
 
286
  background: linear-gradient(135deg, #CCFED9, #95BAFF);
287
  }
288
 
289
+ #generate_btn {
290
  background: #553566 !important; !important;
291
  color: white !important;
292
  }
293
+
294
+ #app-title {
295
+ text-align: center;
296
+ font-size: 40px;
297
+ font-weight: bold;
298
+ background: #D46BCA !important;
299
+ }
300
+
301
  '''
302
  with gr.Blocks(css=css) as demo:
303
  gr.Markdown(logo)