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