Spaces:
Runtime error
Runtime error
Commit
·
a7104ac
1
Parent(s):
c06e35c
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,7 +84,8 @@ def run_lora(prompt, negative, weight, selected_state):
|
|
| 84 |
return image
|
| 85 |
|
| 86 |
css = '''
|
| 87 |
-
#title{
|
|
|
|
| 88 |
#prompt textarea{width: calc(100% - 160px);border-top-right-radius: 0px;border-bottom-right-radius: 0px;}
|
| 89 |
#run_button{position:absolute;margin-top: 38px;right: 0;margin-right: 0.8em;border-bottom-left-radius: 0px;
|
| 90 |
border-top-left-radius: 0px;}
|
|
@@ -93,7 +94,7 @@ css = '''
|
|
| 93 |
'''
|
| 94 |
|
| 95 |
with gr.Blocks(css=css) as demo:
|
| 96 |
-
title = gr.Markdown("#
|
| 97 |
with gr.Row():
|
| 98 |
gallery = gr.Gallery(value=[(a, b) for a, b, _, _, _, _ in sdxl_loras],
|
| 99 |
label="LoRA Gallery",
|
|
|
|
| 84 |
return image
|
| 85 |
|
| 86 |
css = '''
|
| 87 |
+
#title{text-align: center;margin-bottom: 0.5em}
|
| 88 |
+
#title h1{font-size: 3em}
|
| 89 |
#prompt textarea{width: calc(100% - 160px);border-top-right-radius: 0px;border-bottom-right-radius: 0px;}
|
| 90 |
#run_button{position:absolute;margin-top: 38px;right: 0;margin-right: 0.8em;border-bottom-left-radius: 0px;
|
| 91 |
border-top-left-radius: 0px;}
|
|
|
|
| 94 |
'''
|
| 95 |
|
| 96 |
with gr.Blocks(css=css) as demo:
|
| 97 |
+
title = gr.Markdown("# LoRA the Explorer 🔎", elem_id="title")
|
| 98 |
with gr.Row():
|
| 99 |
gallery = gr.Gallery(value=[(a, b) for a, b, _, _, _, _ in sdxl_loras],
|
| 100 |
label="LoRA Gallery",
|