Update app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,7 @@ pipe = ChatsSDXLPipeline.from_pretrained(
|
|
23 |
)
|
24 |
pipe.to(DEVICE)
|
25 |
|
|
|
26 |
def generate(prompt, steps=50, guidance_scale=7.5, height=768, width=512):
|
27 |
output = pipe(
|
28 |
prompt=prompt,
|
|
|
23 |
)
|
24 |
pipe.to(DEVICE)
|
25 |
|
26 |
+
@spaces.GPU
|
27 |
def generate(prompt, steps=50, guidance_scale=7.5, height=768, width=512):
|
28 |
output = pipe(
|
29 |
prompt=prompt,
|