Spaces:
Running
on
Zero
Running
on
Zero
Alexander Bagus
commited on
Commit
·
d107352
1
Parent(s):
c7edbe3
22
Browse files- app.py +1 -0
- static/footer.md +1 -1
app.py
CHANGED
|
@@ -121,6 +121,7 @@ def generate_image(
|
|
| 121 |
progress=gr.Progress(track_tqdm=True),
|
| 122 |
):
|
| 123 |
lora_path = f"loras/{lora_name}"
|
|
|
|
| 124 |
pipe_imagen.load_lora(pipe_imagen.dit, lora_path)
|
| 125 |
|
| 126 |
if randomize_seed:
|
|
|
|
| 121 |
progress=gr.Progress(track_tqdm=True),
|
| 122 |
):
|
| 123 |
lora_path = f"loras/{lora_name}"
|
| 124 |
+
pipe_imagen.clear_lora()
|
| 125 |
pipe_imagen.load_lora(pipe_imagen.dit, lora_path)
|
| 126 |
|
| 127 |
if randomize_seed:
|
static/footer.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
|
| 2 |
|
| 3 |
## Step by ste instruction
|
| 4 |
-
-
|
| 5 |
- Press "Generate LoRA".
|
| 6 |
- After a moment, your LoRA will be ready to download.
|
| 7 |
- Press "Generate image" to use LoRA above.
|
|
|
|
| 1 |
|
| 2 |
|
| 3 |
## Step by ste instruction
|
| 4 |
+
- **Use jpg format**, upload a minimum 1 image to "Input Images".
|
| 5 |
- Press "Generate LoRA".
|
| 6 |
- After a moment, your LoRA will be ready to download.
|
| 7 |
- Press "Generate image" to use LoRA above.
|