Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
1c07581
1
Parent(s):
a916aca
Update app.py
Browse files
app.py
CHANGED
@@ -452,8 +452,7 @@ def remove_custom_lora(selected_indices):
|
|
452 |
lora_image_1,
|
453 |
lora_image_2
|
454 |
)
|
455 |
-
|
456 |
-
print("testing")
|
457 |
run_lora.zerogpu = True
|
458 |
|
459 |
css = '''
|
@@ -575,8 +574,6 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css, delete_cache=(60, 3600)) as app:
|
|
575 |
add_custom_lora,
|
576 |
inputs=[custom_lora, selected_indices],
|
577 |
outputs=[gallery, selected_info_1, selected_info_2, selected_indices, lora_scale_1, lora_scale_2, lora_image_1, lora_image_2]
|
578 |
-
).success(
|
579 |
-
run_test
|
580 |
)
|
581 |
remove_custom_lora_button.click(
|
582 |
remove_custom_lora,
|
|
|
452 |
lora_image_1,
|
453 |
lora_image_2
|
454 |
)
|
455 |
+
|
|
|
456 |
run_lora.zerogpu = True
|
457 |
|
458 |
css = '''
|
|
|
574 |
add_custom_lora,
|
575 |
inputs=[custom_lora, selected_indices],
|
576 |
outputs=[gallery, selected_info_1, selected_info_2, selected_indices, lora_scale_1, lora_scale_2, lora_image_1, lora_image_2]
|
|
|
|
|
577 |
)
|
578 |
remove_custom_lora_button.click(
|
579 |
remove_custom_lora,
|