Commit
·
9561371
1
Parent(s):
0804560
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,14 +41,6 @@ def query(prompt, is_negative=False, steps=7, cfg_scale=7, seed=None, num_images
|
|
| 41 |
|
| 42 |
|
| 43 |
css = """
|
| 44 |
-
.gradio-container {
|
| 45 |
-
font-family: 'IBM Plex Sans', sans-serif;
|
| 46 |
-
}
|
| 47 |
-
.gr-button {
|
| 48 |
-
color: white;
|
| 49 |
-
border-color: black;
|
| 50 |
-
background: black;
|
| 51 |
-
}
|
| 52 |
#gallery {
|
| 53 |
min-height: 22rem;
|
| 54 |
margin-bottom: 15px;
|
|
@@ -60,12 +52,6 @@ css = """
|
|
| 60 |
#gallery>div>.h-full {
|
| 61 |
min-height: 20rem;
|
| 62 |
}
|
| 63 |
-
#prompt-container{
|
| 64 |
-
gap: 0;
|
| 65 |
-
}
|
| 66 |
-
#prompt-text-input, #negative-prompt-text-input{padding: .45rem 0.625rem}
|
| 67 |
-
#component-16{border-top-width: 1px!important;margin-top: 1em}
|
| 68 |
-
.image_duplication{position: absolute; width: 100px; left: 50px}
|
| 69 |
"""
|
| 70 |
|
| 71 |
with gr.Blocks(css=css) as demo:
|
|
|
|
| 41 |
|
| 42 |
|
| 43 |
css = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
#gallery {
|
| 45 |
min-height: 22rem;
|
| 46 |
margin-bottom: 15px;
|
|
|
|
| 52 |
#gallery>div>.h-full {
|
| 53 |
min-height: 20rem;
|
| 54 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
"""
|
| 56 |
|
| 57 |
with gr.Blocks(css=css) as demo:
|