Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def plex(prompt,goof):
|
|
36 |
goof.thumbnail((512, 512))
|
37 |
hint = make_hint(goof).unsqueeze(0).to("cpu")
|
38 |
negative_prior_prompt = "lowres,text,bad quality,jpeg artifacts,ugly,bad face,extra fingers,blurry,bad anatomy,extra limbs,fused fingers,long neck,watermark,signature"
|
39 |
-
image_emb, zero_image_emb = pipe_prior(prompt=prompt, negative_prompt=negative_prior_prompt, generator=generator).to_tuple()
|
40 |
|
41 |
images = pipe(
|
42 |
image_embeds=image_emb,
|
|
|
36 |
goof.thumbnail((512, 512))
|
37 |
hint = make_hint(goof).unsqueeze(0).to("cpu")
|
38 |
negative_prior_prompt = "lowres,text,bad quality,jpeg artifacts,ugly,bad face,extra fingers,blurry,bad anatomy,extra limbs,fused fingers,long neck,watermark,signature"
|
39 |
+
image_emb, zero_image_emb = pipe_prior(prompt=prompt, negative_prompt=negative_prior_prompt, num_inference_steps=5,generator=generator).to_tuple()
|
40 |
|
41 |
images = pipe(
|
42 |
image_embeds=image_emb,
|