Too expensive?!
Browse files
app.py
CHANGED
@@ -184,7 +184,7 @@ def upscale_image(image, scale):
|
|
184 |
else:
|
185 |
return image
|
186 |
|
187 |
-
@spaces.GPU(duration=
|
188 |
def generate_image(model_choice, additional_positive_prompt, additional_negative_prompt, height, width, num_inference_steps,
|
189 |
guidance_scale, num_images_per_prompt, use_random_seed, seed, sampler, clip_skip,
|
190 |
use_florence2, use_medium_enhancer, use_long_enhancer,
|
|
|
184 |
else:
|
185 |
return image
|
186 |
|
187 |
+
@spaces.GPU(duration=300)
|
188 |
def generate_image(model_choice, additional_positive_prompt, additional_negative_prompt, height, width, num_inference_steps,
|
189 |
guidance_scale, num_images_per_prompt, use_random_seed, seed, sampler, clip_skip,
|
190 |
use_florence2, use_medium_enhancer, use_long_enhancer,
|