Fazzie commited on
Commit
84da24b
Β·
1 Parent(s): 9225c42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -13,7 +13,8 @@ def imagen(inputs):
13
  pipe = pipe.to("cuda")
14
 
15
  prompt = "a photo of an astronaut riding a horse on mars"
16
- image = pipe(prompt=prompt, negative_prompt=negative_prompt).images[0]
 
17
 
18
  return image
19
 
 
13
  pipe = pipe.to("cuda")
14
 
15
  prompt = "a photo of an astronaut riding a horse on mars"
16
+ negative_prompt = 'pixelated, distorted'
17
+ image = pipe(prompt=inputs, negative_prompt=negative_prompt).images[0]
18
 
19
  return image
20