multimodalart HF staff commited on
Commit
121ceed
·
verified ·
1 Parent(s): cb4ceeb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()