Update app.py
Browse files
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
|
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,
|