Spaces:
Runtime error
Runtime error
Commit
•
9364c9f
1
Parent(s):
2ef77ec
Update app.py
Browse files
app.py
CHANGED
@@ -230,11 +230,12 @@ with gr.Blocks(css="custom.css") as demo:
|
|
230 |
gr_sdxl_loras = gr.State(value=sdxl_loras_raw)
|
231 |
gr_sdxl_loras_new = gr.State(value=sdxl_loras_raw_new)
|
232 |
title = gr.HTML(
|
233 |
-
"""<h1><img src="https://i.imgur.com/vT48NAO.png" alt="LoRA">
|
234 |
elem_id="title",
|
235 |
)
|
236 |
selected_state = gr.State()
|
237 |
with gr.Row(elem_id="main_app"):
|
|
|
238 |
with gr.Group(elem_id="gallery_box"):
|
239 |
selected_loras = gr.Gallery(label="Selected LoRAs", height=80, show_share_button=False, visible=False, elem_id="gallery_selected", )
|
240 |
order_gallery = gr.Radio(choices=["random", "likes"], value="random", label="Order by", elem_id="order_radio")
|
|
|
230 |
gr_sdxl_loras = gr.State(value=sdxl_loras_raw)
|
231 |
gr_sdxl_loras_new = gr.State(value=sdxl_loras_raw_new)
|
232 |
title = gr.HTML(
|
233 |
+
"""<h1><img src="https://i.imgur.com/vT48NAO.png" alt="LoRA"> Face to All</h1>""",
|
234 |
elem_id="title",
|
235 |
)
|
236 |
selected_state = gr.State()
|
237 |
with gr.Row(elem_id="main_app"):
|
238 |
+
photo = gr.Image(label="Upload a picture of yourself", interactive=True)
|
239 |
with gr.Group(elem_id="gallery_box"):
|
240 |
selected_loras = gr.Gallery(label="Selected LoRAs", height=80, show_share_button=False, visible=False, elem_id="gallery_selected", )
|
241 |
order_gallery = gr.Radio(choices=["random", "likes"], value="random", label="Order by", elem_id="order_radio")
|