Spaces:
Runtime error
Runtime error
Commit ·
431e0cf
1
Parent(s): 90a5bb8
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ pipe = StableDiffusionPipeline.from_pretrained(model_id,use_auth_token=token).to
|
|
| 27 |
|
| 28 |
def infer(prompt,samples):
|
| 29 |
with context(device):
|
| 30 |
-
images = pipe(samples*[prompt],
|
| 31 |
return images
|
| 32 |
|
| 33 |
|
|
|
|
| 27 |
|
| 28 |
def infer(prompt,samples):
|
| 29 |
with context(device):
|
| 30 |
+
images = pipe(samples*[prompt], guidance_scale=7.5).images
|
| 31 |
return images
|
| 32 |
|
| 33 |
|