Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -103,9 +103,10 @@ run_lora.zerogpu = True
|
|
| 103 |
|
| 104 |
css = '''
|
| 105 |
#gen_btn{height: 100%}
|
| 106 |
-
#title{text-align: center
|
| 107 |
#title h1{font-size: 3em; display:inline-flex; align-items:center}
|
| 108 |
#title img{width: 100px; margin-right: 0.5em}
|
|
|
|
| 109 |
'''
|
| 110 |
with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
|
| 111 |
title = gr.HTML(
|
|
@@ -125,7 +126,8 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
|
|
| 125 |
[(item["image"], item["title"]) for item in loras],
|
| 126 |
label="LoRA Gallery",
|
| 127 |
allow_preview=False,
|
| 128 |
-
columns=3
|
|
|
|
| 129 |
)
|
| 130 |
|
| 131 |
with gr.Column(scale=4):
|
|
|
|
| 103 |
|
| 104 |
css = '''
|
| 105 |
#gen_btn{height: 100%}
|
| 106 |
+
#title{text-align: center}
|
| 107 |
#title h1{font-size: 3em; display:inline-flex; align-items:center}
|
| 108 |
#title img{width: 100px; margin-right: 0.5em}
|
| 109 |
+
#gallery .grid-wrap{height: 10vh}
|
| 110 |
'''
|
| 111 |
with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
|
| 112 |
title = gr.HTML(
|
|
|
|
| 126 |
[(item["image"], item["title"]) for item in loras],
|
| 127 |
label="LoRA Gallery",
|
| 128 |
allow_preview=False,
|
| 129 |
+
columns=3,
|
| 130 |
+
elem_id="gallery"
|
| 131 |
)
|
| 132 |
|
| 133 |
with gr.Column(scale=4):
|