Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ with open('loras.json', 'r') as f:
|
|
| 14 |
loras = json.load(f)
|
| 15 |
|
| 16 |
# Initialize the base model
|
| 17 |
-
base_model = "AlekseyCalvin/
|
| 18 |
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
| 19 |
|
| 20 |
MAX_SEED = 2**32-1
|
|
@@ -115,7 +115,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
|
|
| 115 |
)
|
| 116 |
# Info blob stating what the app is running
|
| 117 |
info_blob = gr.HTML(
|
| 118 |
-
"""<div id="info_blob"> Img. Manufactory Running On: Our 'MytHSTic Color SOON®' Fast (4-8 step) FLUX Schnell-Base Model (at AlekseyCalvin/
|
| 119 |
)
|
| 120 |
|
| 121 |
# Info blob stating what the app is running
|
|
@@ -146,8 +146,8 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
|
|
| 146 |
with gr.Accordion("Advanced Settings", open=True):
|
| 147 |
with gr.Column():
|
| 148 |
with gr.Row():
|
| 149 |
-
cfg_scale = gr.Slider(label="CFG Scale", minimum=0, maximum=20, step=.5, value=
|
| 150 |
-
steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=
|
| 151 |
|
| 152 |
with gr.Row():
|
| 153 |
width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=768)
|
|
|
|
| 14 |
loras = json.load(f)
|
| 15 |
|
| 16 |
# Initialize the base model
|
| 17 |
+
base_model = "AlekseyCalvin/AlekseyCalvin/Mythstic_Color_Soonr_Flux"
|
| 18 |
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
| 19 |
|
| 20 |
MAX_SEED = 2**32-1
|
|
|
|
| 115 |
)
|
| 116 |
# Info blob stating what the app is running
|
| 117 |
info_blob = gr.HTML(
|
| 118 |
+
"""<div id="info_blob"> Img. Manufactory Running On: Our 'MytHSTic Color SOON®' Fast (4-8 step) FLUX Schnell-Base Model (at AlekseyCalvin/Mythstic_Color_Soonr_Flux). Now testing HST-triggered historic photo LoRAs (#s2-8,11,12,14,16)for training-eval & merging. </div>"""
|
| 119 |
)
|
| 120 |
|
| 121 |
# Info blob stating what the app is running
|
|
|
|
| 146 |
with gr.Accordion("Advanced Settings", open=True):
|
| 147 |
with gr.Column():
|
| 148 |
with gr.Row():
|
| 149 |
+
cfg_scale = gr.Slider(label="CFG Scale", minimum=0, maximum=20, step=.5, value=0)
|
| 150 |
+
steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=5)
|
| 151 |
|
| 152 |
with gr.Row():
|
| 153 |
width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=768)
|