jieliu commited on
Commit
1a0e642
·
verified ·
1 Parent(s): 3c9b8dd

update inference config

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -35,6 +35,6 @@ pipe.transformer = pipe.transformer.merge_and_unload()
35
  pipe = pipe.to(device)
36
 
37
  prompt = 'a weathered cave explorers journal page, with the phrase "lost city near" prominently written in faded ink, surrounded by sketches of ancient ruins and cryptic symbols, under a dim, mystical light.'
38
- image = pipe(prompt, height=512, width=512, num_inference_steps=40,guidance_scale=4.5).images[0]
39
  image.save(f"flow_grpo_text.png")
40
  ```
 
35
  pipe = pipe.to(device)
36
 
37
  prompt = 'a weathered cave explorers journal page, with the phrase "lost city near" prominently written in faded ink, surrounded by sketches of ancient ruins and cryptic symbols, under a dim, mystical light.'
38
+ image = pipe(prompt, height=512, width=512, num_inference_steps=40,guidance_scale=4.5,negative_prompt="").images[0]
39
  image.save(f"flow_grpo_text.png")
40
  ```