lvkaokao commited on
Commit
0d885c3
1 Parent(s): 197c957

update app

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -12,7 +12,6 @@ model_id = "dicoo_model"
12
  pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float)
13
 
14
  def predict(prompt, steps=30, seed=42, guidance_scale=7.5):
15
- prompt = prompt
16
  print("prompt: ", prompt)
17
  print("steps: ", steps)
18
  image = pipe(prompt, num_inference_steps=steps, guidance_scale=7.5).images[0]
 
12
  pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float)
13
 
14
  def predict(prompt, steps=30, 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]