K00B404 commited on
Commit
16406fa
·
verified ·
1 Parent(s): c7850b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ import torch
10
  from diffusers import StableDiffusionPipeline, EulerAncestralDiscreteScheduler
11
 
12
  DESCRIPTION = """
13
- # DALL•E 3 XL v2
14
  """
15
 
16
  def save_image(img):
@@ -48,7 +48,7 @@ else:
48
  )
49
  pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
50
 
51
- @spaces.CPU(enable_queue=True)
52
  def generate(
53
  prompt: str,
54
  negative_prompt: str = "",
 
10
  from diffusers import StableDiffusionPipeline, EulerAncestralDiscreteScheduler
11
 
12
  DESCRIPTION = """
13
+ # DALL XL v2
14
  """
15
 
16
  def save_image(img):
 
48
  )
49
  pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
50
 
51
+
52
  def generate(
53
  prompt: str,
54
  negative_prompt: str = "",