Kvikontent commited on
Commit
a012756
1 Parent(s): f09ae2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from diffusers import DiffusionPipeline
4
 
5
  pipe = DiffusionPipeline.from_pretrained("stabilityai/sdxl-turbo")
6
 
7
- @spaces.GPU(duration=1000)
8
  def generate_image(prompt):
9
  # Run the diffusion model to generate an image
10
  image = pipe(prompt, num_inference_steps=50, guidance_scale=7.5)
 
4
 
5
  pipe = DiffusionPipeline.from_pretrained("stabilityai/sdxl-turbo")
6
 
7
+ @spaces.GPU(duration=250)
8
  def generate_image(prompt):
9
  # Run the diffusion model to generate an image
10
  image = pipe(prompt, num_inference_steps=50, guidance_scale=7.5)