Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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"
|
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;">
|
56 |
-
<p style="font-size: 1rem; margin-bottom: 1.5rem;">
|
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="
|
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 |
|