Fucius commited on
Commit
918709c
1 Parent(s): e4fe90e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -366,7 +366,7 @@ def main(device, segment_type):
366
  image = Image.fromarray((image * 255.0).clip(0, 255).astype(np.uint8))
367
  return image
368
 
369
- @spaces.GPU(duration=180)
370
  def generate_image(prompt1, negative_prompt, man, woman, resolution, local_prompt1, local_prompt2, seed, condition, condition_img1, style):
371
  # try:
372
  path1 = lorapath_man[man]
 
366
  image = Image.fromarray((image * 255.0).clip(0, 255).astype(np.uint8))
367
  return image
368
 
369
+ @spaces.GPU(duration=210)
370
  def generate_image(prompt1, negative_prompt, man, woman, resolution, local_prompt1, local_prompt2, seed, condition, condition_img1, style):
371
  # try:
372
  path1 = lorapath_man[man]