mrcuddle commited on
Commit
afae8a4
1 Parent(s): d4e82b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -38,7 +38,7 @@ def load_and_fuse_lora_weights(pipe, lora_models):
38
 
39
  # List of LoRA models and their corresponding scales
40
  lora_models = [
41
- ("mrcuddle/live2d-model-maker", "LIVE2D-FLUX.safetensors", 0.125)
42
  ]
43
 
44
  pipe = FluxPipeline.from_pretrained("advokat/AnimePro-FLUX", torch_dtype=torch.bfloat16)
@@ -52,8 +52,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
52
  gr.Markdown(
53
  """
54
  <div style="text-align: center; max-width: 650px; margin: 0 auto;">
55
- <h1 style="font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; display: contents;">Hyper-FLUX-8steps-LoRA</h1>
56
- <p style="font-size: 1rem; margin-bottom: 1.5rem;">AutoML team from ByteDance</p>
57
  </div>
58
  """
59
  )
@@ -63,7 +63,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
63
  with gr.Group():
64
  prompt = gr.Textbox(
65
  label="Your Image Description",
66
- placeholder="E.g., A serene landscape with mountains and a lake at sunset",
67
  lines=3
68
  )
69
 
 
38
 
39
  # List of LoRA models and their corresponding scales
40
  lora_models = [
41
+ ("mrcuddle/live2d-model-maker", "LIVE2D-FLUX.safetensors")
42
  ]
43
 
44
  pipe = FluxPipeline.from_pretrained("advokat/AnimePro-FLUX", torch_dtype=torch.bfloat16)
 
52
  gr.Markdown(
53
  """
54
  <div style="text-align: center; max-width: 650px; margin: 0 auto;">
55
+ <h1 style="font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; display: contents;">Live2D Base Model Maker</h1>
56
+ <p style="font-size: 1rem; margin-bottom: 1.5rem;">The LoRA's *required* prompt is preloaded</p>
57
  </div>
58
  """
59
  )
 
63
  with gr.Group():
64
  prompt = gr.Textbox(
65
  label="Your Image Description",
66
+ placeholder="Girl with Red Dragon Wings",
67
  lines=3
68
  )
69