Owen777 commited on
Commit
4932cce
1 Parent(s): 0a81218

Update inference.py

Browse files
Files changed (1) hide show
  1. inference.py +12 -20
inference.py CHANGED
@@ -31,26 +31,18 @@ CFG = 9
31
  resolution = 1024
32
  negative_prompts = "worst quality, low quality, low res, blurry, distortion, watermark, logo, signature, text, jpeg artifacts, signature, sketch, duplicate, ugly, identifying mark"
33
 
34
- # A racoon wearing a suit smoking a cigar in the style of James Gurney.
35
- # Medieval painting of a rat king.
36
- # Oil portrait of Super Mario as a shaman tripping on mushrooms in a dark and detailed scene.
37
- # A painting of a Persian cat dressed as a Renaissance king, standing on a skyscraper overlooking a city.
38
- # A fluffy owl sits atop a stack of antique books in a detailed and moody illustration.
39
- # A cosmonaut otter poses for a portrait painted in intricate detail by Rembrandt.
40
- # A painting featuring a woman wearing virtual reality glasses and a bird, created by Dave McKean and Ivan Shishkin.
41
- # A hyperrealist portrait of a fairy girl emperor wearing a crown and long starry robes.
42
- # A psychedelic painting of a fantasy space whale.
43
- # A monkey in a blue top hat painted in oil by Vincent van Gogh in the 1800s.
44
- # A queen with red hair and a green and black dress stands veiled in a highly detailed and elegant digital painting.
45
- # An oil painting of an anthropomorphic fox overlooking a village in the moor.
46
- # A digital painting of an evil geisha in a bar.
47
- # Digital painting of a furry deer character on FurAffinity.
48
- # A highly detailed goddess portrait with a focus on the eyes.
49
- # A cute young demon princess in a forest, depicted in digital painting.
50
- # A red-haired queen wearing a green and black dress and veil is depicted in an intricate and elegant digital painting.
51
- prompt = "A racoon wearing a suit smoking a cigar in the style of James Gurney."
52
-
53
- image = pipe(prompt=prompt,negative_prompt=negative_prompts,height=resolution,width=resolution,guidance_scale=CFG,num_inference_steps=steps).images[0]
54
 
55
  output_dir = "./output"
56
  os.makedirs(output_dir, exist_ok=True)
 
31
  resolution = 1024
32
  negative_prompts = "worst quality, low quality, low res, blurry, distortion, watermark, logo, signature, text, jpeg artifacts, signature, sketch, duplicate, ugly, identifying mark"
33
 
34
+ prompts = [
35
+ "Two actors are posing for a pictur with one wearing a black and white face paint.",
36
+ "A large body of water with a rock in the middle and mountains in the background.",
37
+ "A white and blue coffee mug with a picture of a man on it.",
38
+ "A statue of a man with a crown on his head.",
39
+ "A man in a yellow wet suit is holding a big black dog in the water.",
40
+ "A white table with a vase of flowers and a cup of coffee on top of it.",
41
+ "A woman stands on a dock in the fog.",
42
+ "A woman is standing next to a picture of another woman."
43
+ ]
44
+
45
+ image = pipe(prompt=prompts[0],negative_prompt=negative_prompts,height=resolution,width=resolution,guidance_scale=CFG,num_inference_steps=steps).images[0]
 
 
 
 
 
 
 
 
46
 
47
  output_dir = "./output"
48
  os.makedirs(output_dir, exist_ok=True)