Spaces:
Running
on
Zero
Running
on
Zero
Alexander Bagus
commited on
Commit
·
fb4dceb
1
Parent(s):
c92f2b8
22
Browse files
app.py
CHANGED
|
@@ -84,13 +84,13 @@ def generate_lora(
|
|
| 84 |
lora = QwenImageUnit_Image2LoRADecode().process(pipe, **embs)["lora"]
|
| 85 |
|
| 86 |
lora_path = f"loras/{ulid}.safetensors"
|
| 87 |
-
lora_url = f"{URL_PUBLIC}/{lora_path}"
|
| 88 |
|
| 89 |
-
print(lora_url)
|
| 90 |
|
| 91 |
save_file(lora, lora_path)
|
| 92 |
|
| 93 |
-
return lora_path,
|
| 94 |
|
| 95 |
@spaces.GPU
|
| 96 |
def generate_image(
|
|
|
|
| 84 |
lora = QwenImageUnit_Image2LoRADecode().process(pipe, **embs)["lora"]
|
| 85 |
|
| 86 |
lora_path = f"loras/{ulid}.safetensors"
|
| 87 |
+
# lora_url = f"{URL_PUBLIC}/{lora_path}"
|
| 88 |
|
| 89 |
+
# print(lora_url)
|
| 90 |
|
| 91 |
save_file(lora, lora_path)
|
| 92 |
|
| 93 |
+
return lora_path, lora_path, gr.Column(visible=True)
|
| 94 |
|
| 95 |
@spaces.GPU
|
| 96 |
def generate_image(
|