Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,7 +78,7 @@ with gr.Blocks(css=css) as app:
|
|
| 78 |
with gr.Row():
|
| 79 |
text_prompt = gr.Textbox(label="Prompt", placeholder="Enter a prompt here", lines=3, elem_id="prompt-text-input")
|
| 80 |
with gr.Row():
|
| 81 |
-
custom_lora = gr.Textbox(label="Custom LoRA (optional)", info="LoRA Hugging Face path
|
| 82 |
with gr.Row():
|
| 83 |
with gr.Accordion("Advanced Settings", open=False):
|
| 84 |
lora_scale = gr.Slider(
|
|
@@ -89,8 +89,8 @@ with gr.Blocks(css=css) as app:
|
|
| 89 |
value=1,
|
| 90 |
)
|
| 91 |
with gr.Row():
|
| 92 |
-
width = gr.Slider(label="Width", value=1024, minimum=64, maximum=2048, step=
|
| 93 |
-
height = gr.Slider(label="Height", value=1024, minimum=64, maximum=2048, step=
|
| 94 |
seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=4294967296, step=1)
|
| 95 |
randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
|
| 96 |
with gr.Row():
|
|
|
|
| 78 |
with gr.Row():
|
| 79 |
text_prompt = gr.Textbox(label="Prompt", placeholder="Enter a prompt here", lines=3, elem_id="prompt-text-input")
|
| 80 |
with gr.Row():
|
| 81 |
+
custom_lora = gr.Textbox(label="Custom LoRA (optional)", info="LoRA Hugging Face path", placeholder="flymy-ai/qwen-image-realism-lora")
|
| 82 |
with gr.Row():
|
| 83 |
with gr.Accordion("Advanced Settings", open=False):
|
| 84 |
lora_scale = gr.Slider(
|
|
|
|
| 89 |
value=1,
|
| 90 |
)
|
| 91 |
with gr.Row():
|
| 92 |
+
width = gr.Slider(label="Width", value=1024, minimum=64, maximum=2048, step=16)
|
| 93 |
+
height = gr.Slider(label="Height", value=1024, minimum=64, maximum=2048, step=16)
|
| 94 |
seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=4294967296, step=1)
|
| 95 |
randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
|
| 96 |
with gr.Row():
|