Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -235,7 +235,7 @@ def merge_incompatible_lora(full_path_lora, lora_scale):
|
|
| 235 |
del weights_sd
|
| 236 |
del lora_model
|
| 237 |
|
| 238 |
-
@spaces.GPU(duration=
|
| 239 |
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):
|
| 240 |
print(loaded_state_dict)
|
| 241 |
et = time.time()
|
|
|
|
| 235 |
del weights_sd
|
| 236 |
del lora_model
|
| 237 |
|
| 238 |
+
@spaces.GPU(duration=100)
|
| 239 |
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):
|
| 240 |
print(loaded_state_dict)
|
| 241 |
et = time.time()
|