Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse filesReduce Allocation time, to avoid quota errors
app.py
CHANGED
@@ -117,7 +117,7 @@ def generate_image(prompt, negative_prompt, seed, randomize_seed, width, height,
|
|
117 |
|
118 |
return image, seed
|
119 |
|
120 |
-
@spaces.GPU(duration=
|
121 |
def process_workflow(image, text_prompt, vlm_model_choice, use_enhancer, model_choice, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps):
|
122 |
if image is not None:
|
123 |
# Convert image to PIL if it's not already
|
|
|
117 |
|
118 |
return image, seed
|
119 |
|
120 |
+
@spaces.GPU(duration=60)
|
121 |
def process_workflow(image, text_prompt, vlm_model_choice, use_enhancer, model_choice, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps):
|
122 |
if image is not None:
|
123 |
# Convert image to PIL if it's not already
|