Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -60,8 +60,8 @@ with gr.Blocks(css=css, theme=theme) as demo:
|
|
60 |
prompt = gr.Textbox(show_label=False, scale=4, placeholder="Your prompt", info="Leave blank to test unconditional generation")
|
61 |
button = gr.Button("Generate", min_width=120)
|
62 |
output = ImageSlider(label="Left: PAG, Right: No PAG", interactive=False)
|
63 |
-
lora = gr.Textbox(label="Custom LoRA path")
|
64 |
with gr.Accordion("Advanced Settings", open=False):
|
|
|
65 |
guidance_scale = gr.Number(label="CFG Guidance Scale", info="The guidance scale for CFG, ignored if no prompt is entered (unconditional generation)", value=7.0)
|
66 |
negative_prompt = gr.Textbox(label="Negative prompt", info="Is only applied for the CFG part, leave blank for unconditional generation")
|
67 |
pag_scale = gr.Number(label="Pag Scale", value=3.0)
|
|
|
60 |
prompt = gr.Textbox(show_label=False, scale=4, placeholder="Your prompt", info="Leave blank to test unconditional generation")
|
61 |
button = gr.Button("Generate", min_width=120)
|
62 |
output = ImageSlider(label="Left: PAG, Right: No PAG", interactive=False)
|
|
|
63 |
with gr.Accordion("Advanced Settings", open=False):
|
64 |
+
lora = gr.Textbox(label="Custom LoRA path", info="Load a custom LoRA from Hugging Face to use PAG with")
|
65 |
guidance_scale = gr.Number(label="CFG Guidance Scale", info="The guidance scale for CFG, ignored if no prompt is entered (unconditional generation)", value=7.0)
|
66 |
negative_prompt = gr.Textbox(label="Negative prompt", info="Is only applied for the CFG part, leave blank for unconditional generation")
|
67 |
pag_scale = gr.Number(label="Pag Scale", value=3.0)
|