Spaces:
Runtime error
Runtime error
update app
Browse files
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]
|