lvkaokao commited on
Commit
6bbf751
·
1 Parent(s): 414eb06

update app

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -12,7 +12,8 @@ model_id = "dicoo_model"
12
  pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float)
13
 
14
  def predict(prompt, steps=50, seed=42, guidance_scale=7.5):
15
- print("prompt:", prompt)
 
16
  image = pipe(prompt, num_inference_steps=steps, guidance_scale=7.5).images[0]
17
  return image
18
 
 
12
  pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float)
13
 
14
  def predict(prompt, steps=50, seed=42, guidance_scale=7.5):
15
+ print("prompt: ", prompt)
16
+ print("steps: ", steps)
17
  image = pipe(prompt, num_inference_steps=steps, guidance_scale=7.5).images[0]
18
  return image
19