Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -233,7 +233,7 @@ def merge_incompatible_lora(full_path_lora, lora_scale):
|
|
233 |
)
|
234 |
del weights_sd
|
235 |
del lora_model
|
236 |
-
@spaces.GPU
|
237 |
def generate_image(prompt, negative, face_emb, face_image, face_kps, image_strength, guidance_scale, face_strength, depth_control_scale, repo_name, loaded_state_dict, lora_scale, sdxl_loras, selected_state_index, st):
|
238 |
print(loaded_state_dict)
|
239 |
et = time.time()
|
|
|
233 |
)
|
234 |
del weights_sd
|
235 |
del lora_model
|
236 |
+
@spaces.GPU(duration=80)
|
237 |
def generate_image(prompt, negative, face_emb, face_image, face_kps, image_strength, guidance_scale, face_strength, depth_control_scale, repo_name, loaded_state_dict, lora_scale, sdxl_loras, selected_state_index, st):
|
238 |
print(loaded_state_dict)
|
239 |
et = time.time()
|