Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -420,7 +420,13 @@ def infer(
|
|
| 420 |
css = """
|
| 421 |
#col-container {
|
| 422 |
margin: 0 auto;
|
| 423 |
-
max-width:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
-
|
| 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("
|
| 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,
|