linoyts HF Staff commited on
Commit
4388d18
·
verified ·
1 Parent(s): 810dc9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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 Portrait 👩🏻‍🎤
252
- <br><small style="font-size: 13px; opacity: 0.75;">Flux.1 Kontext [dev] + community Kontext & Flux LoRAs 🤗</small></h1>""",
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)