Severian commited on
Commit
57c5ad9
·
verified ·
1 Parent(s): cf877b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -21
app.py CHANGED
@@ -325,25 +325,6 @@ h1, h2, h3, h4, h5, h6, p, li, ul, ol, a {
325
  max-width: 100%;
326
  height: auto;
327
  }
328
-
329
- /* Add these new styles */
330
- .login-container {
331
- display: flex;
332
- flex-direction: column;
333
- justify-content: center;
334
- height: 100%;
335
- }
336
-
337
- .welcome-tab {
338
- display: flex;
339
- height: 100vh;
340
- }
341
-
342
- .welcome-content {
343
- display: flex;
344
- flex-direction: column;
345
- justify-content: center;
346
- }
347
  """
348
 
349
  def login(username, password):
@@ -357,8 +338,8 @@ with gr.Blocks(theme='Hev832/Applio', css=css, fill_width=True, fill_height=True
357
  generated_images = gr.State([])
358
 
359
  with gr.Tab("Welcome"):
360
- with gr.Row(elem_classes="welcome-tab"):
361
- with gr.Column(scale=2, elem_classes="welcome-content"):
362
  gr.Markdown(
363
  """
364
  <img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/29sj9LyPQItG5uBOO2x3r.webp" alt="UGD Logo" width="250" class="centered-image">
 
325
  max-width: 100%;
326
  height: auto;
327
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
328
  """
329
 
330
  def login(username, password):
 
338
  generated_images = gr.State([])
339
 
340
  with gr.Tab("Welcome"):
341
+ with gr.Row():
342
+ with gr.Column(scale=2):
343
  gr.Markdown(
344
  """
345
  <img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/29sj9LyPQItG5uBOO2x3r.webp" alt="UGD Logo" width="250" class="centered-image">