Update app.py
Browse files
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=
|
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]
|