gokaygokay commited on
Commit
c208235
1 Parent(s): e58293e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -143,7 +143,7 @@ def generate_image(prompt, negative_prompt, seed, randomize_seed, width, height,
143
 
144
  return image, seed
145
 
146
- @spaces.GPU
147
  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, num_images_per_prompt):
148
  if image is not None:
149
  # Convert image to PIL if it's not already
 
143
 
144
  return image, seed
145
 
146
+ @spaces.GPU(duration=200)
147
  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, num_images_per_prompt):
148
  if image is not None:
149
  # Convert image to PIL if it's not already