Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -244,13 +244,14 @@ css = """
|
|
| 244 |
"""
|
| 245 |
|
| 246 |
# Create Gradio interface
|
| 247 |
-
with gr.Blocks(css=css) as demo:
|
| 248 |
gr_flux_loras = gr.State(value=flux_loras_raw)
|
| 249 |
|
| 250 |
title = gr.HTML(
|
| 251 |
-
"""<h1> FLUX.1 Kontext
|
| 252 |
-
|
| 253 |
)
|
|
|
|
| 254 |
|
| 255 |
selected_state = gr.State(value=None)
|
| 256 |
custom_loaded_lora = gr.State(value=None)
|
|
|
|
| 244 |
"""
|
| 245 |
|
| 246 |
# Create Gradio interface
|
| 247 |
+
with gr.Blocks(css=css, theme=gr.themes.Ocean(font=[gr.themes.GoogleFont("Lexend Deca"), "sans-serif"])) as demo:
|
| 248 |
gr_flux_loras = gr.State(value=flux_loras_raw)
|
| 249 |
|
| 250 |
title = gr.HTML(
|
| 251 |
+
"""<h1><img src="https://huggingface.co/spaces/kontext-community/FLUX.1-Kontext-portrait/resolve/main/dora_kontext.png" alt="LoRA"> FLUX.1 Kontext LoRA the Explorer</h1>""",
|
| 252 |
+
elem_id="title",
|
| 253 |
)
|
| 254 |
+
gr.Markdown("Flux.1 Kontext [dev] + community Kontext & Flux LoRAs 🤗")
|
| 255 |
|
| 256 |
selected_state = gr.State(value=None)
|
| 257 |
custom_loaded_lora = gr.State(value=None)
|