HelloSun commited on
Commit
5cfd0f2
1 Parent(s): a1ff9d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ pipeline = OVStableDiffusionPipeline.from_pretrained(model_id, device='CPU')
6
  pipeline.sampler = "dpm++2s_a"
7
  num_inference_steps = 28
8
 
9
- def infer(prompt, num_inference_steps):
10
  image = pipeline(
11
  prompt=prompt,
12
  guidance_scale=1.0,
 
6
  pipeline.sampler = "dpm++2s_a"
7
  num_inference_steps = 28
8
 
9
+ def infer(prompt):
10
  image = pipeline(
11
  prompt=prompt,
12
  guidance_scale=1.0,