Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def query(lora_id, prompt, is_negative=False, steps=28, cfg_scale=3.5, sampler="
|
|
| 18 |
return None
|
| 19 |
|
| 20 |
if lora_id.strip() == "" or lora_id == None:
|
| 21 |
-
lora_id = "
|
| 22 |
|
| 23 |
key = random.randint(0, 999)
|
| 24 |
|
|
@@ -73,7 +73,7 @@ css = """
|
|
| 73 |
"""
|
| 74 |
|
| 75 |
with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
|
| 76 |
-
gr.HTML("<center><h1>FLUX.1-Dev</h1></center>")
|
| 77 |
with gr.Column(elem_id="app-container"):
|
| 78 |
with gr.Row():
|
| 79 |
with gr.Column(elem_id="prompt-container"):
|
|
|
|
| 18 |
return None
|
| 19 |
|
| 20 |
if lora_id.strip() == "" or lora_id == None:
|
| 21 |
+
lora_id = "black-forest-labs/FLUX.1-dev"
|
| 22 |
|
| 23 |
key = random.randint(0, 999)
|
| 24 |
|
|
|
|
| 73 |
"""
|
| 74 |
|
| 75 |
with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
|
| 76 |
+
gr.HTML("<center><h1>FLUX.1-Dev with LoRA support</h1></center>")
|
| 77 |
with gr.Column(elem_id="app-container"):
|
| 78 |
with gr.Row():
|
| 79 |
with gr.Column(elem_id="prompt-container"):
|