linoyts HF Staff commited on
Commit
9447270
·
verified ·
1 Parent(s): d6db0f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -4
app.py CHANGED
@@ -420,7 +420,13 @@ def infer(
420
  css = """
421
  #col-container {
422
  margin: 0 auto;
423
- max-width: 1200px;
 
 
 
 
 
 
424
  }
425
  #edit_text{margin-top: -62px !important}
426
  .preview-container {
@@ -458,8 +464,7 @@ with gr.Blocks(css=css) as demo:
458
  prompt = gr.Text(
459
  label="Prompt",
460
  info="Describe what should appear in the extended areas",
461
- placeholder="extend the image naturally",
462
- container=False,
463
  )
464
 
465
  with gr.Row():
@@ -529,7 +534,7 @@ with gr.Blocks(css=css) as demo:
529
 
530
  preview_button = gr.Button("👁️ Preview alignment and mask", variant="secondary")
531
 
532
- with gr.Accordion("🔧 Advanced Settings", open=False):
533
  seed = gr.Slider(
534
  label="Seed",
535
  minimum=0,
 
420
  css = """
421
  #col-container {
422
  margin: 0 auto;
423
+ max-width: 1024px;
424
+ }
425
+ #logo-title {
426
+ text-align: center;
427
+ }
428
+ #logo-title img {
429
+ width: 400px;
430
  }
431
  #edit_text{margin-top: -62px !important}
432
  .preview-container {
 
464
  prompt = gr.Text(
465
  label="Prompt",
466
  info="Describe what should appear in the extended areas",
467
+ value="extend the image naturally",
 
468
  )
469
 
470
  with gr.Row():
 
534
 
535
  preview_button = gr.Button("👁️ Preview alignment and mask", variant="secondary")
536
 
537
+ with gr.Accordion("Advanced Settings", open=False):
538
  seed = gr.Slider(
539
  label="Seed",
540
  minimum=0,