Spaces:
Running
Running
Commit
•
a08da6d
1
Parent(s):
1c07581
Update app.py
Browse files
app.py
CHANGED
@@ -304,6 +304,8 @@ def run_lora(prompt, image_input, image_strength, cfg_scale, steps, selected_ind
|
|
304 |
yield image, seed, gr.update(value=progress_bar, visible=True)
|
305 |
yield final_image, seed, gr.update(value=progress_bar, visible=False)
|
306 |
|
|
|
|
|
307 |
def get_huggingface_safetensors(link):
|
308 |
split_link = link.split("/")
|
309 |
if len(split_link) == 2:
|
@@ -453,7 +455,7 @@ def remove_custom_lora(selected_indices):
|
|
453 |
lora_image_2
|
454 |
)
|
455 |
|
456 |
-
|
457 |
|
458 |
css = '''
|
459 |
#gen_btn{height: 100%}
|
|
|
304 |
yield image, seed, gr.update(value=progress_bar, visible=True)
|
305 |
yield final_image, seed, gr.update(value=progress_bar, visible=False)
|
306 |
|
307 |
+
run_lora.zerogpu = True
|
308 |
+
|
309 |
def get_huggingface_safetensors(link):
|
310 |
split_link = link.split("/")
|
311 |
if len(split_link) == 2:
|
|
|
455 |
lora_image_2
|
456 |
)
|
457 |
|
458 |
+
|
459 |
|
460 |
css = '''
|
461 |
#gen_btn{height: 100%}
|