Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,7 @@ from diffusers import QwenImagePipeline
|
|
9 |
|
10 |
dtype = torch.bfloat16
|
11 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
12 |
-
|
13 |
-
#black-forest-labs/FLUX.1-dev
|
14 |
|
15 |
|
16 |
# Load the model pipeline
|
@@ -98,7 +97,7 @@ with gr.Blocks(css=css) as app:
|
|
98 |
with gr.Row():
|
99 |
text_prompt = gr.Textbox(label="Prompt", placeholder="Enter a prompt here", lines=3, elem_id="prompt-text-input")
|
100 |
with gr.Row():
|
101 |
-
custom_lora = gr.Textbox(label="Custom LoRA", info="LoRA Hugging Face path (optional)", placeholder="
|
102 |
with gr.Row():
|
103 |
with gr.Accordion("Advanced Settings", open=False):
|
104 |
lora_scale = gr.Slider(
|
|
|
9 |
|
10 |
dtype = torch.bfloat16
|
11 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
12 |
+
|
|
|
13 |
|
14 |
|
15 |
# Load the model pipeline
|
|
|
97 |
with gr.Row():
|
98 |
text_prompt = gr.Textbox(label="Prompt", placeholder="Enter a prompt here", lines=3, elem_id="prompt-text-input")
|
99 |
with gr.Row():
|
100 |
+
custom_lora = gr.Textbox(label="Custom LoRA", info="LoRA Hugging Face path (optional)", placeholder="flymy-ai/qwen-image-realism-lora")
|
101 |
with gr.Row():
|
102 |
with gr.Accordion("Advanced Settings", open=False):
|
103 |
lora_scale = gr.Slider(
|