ftopal commited on
Commit
ddd657e
·
verified ·
1 Parent(s): c0f4115

Update app.py

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