Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
34 |
pipe = StableDiffusionInpaintPipeline.from_pretrained(
|
35 |
"runwayml/stable-diffusion-inpainting",
|
36 |
revision="fp16",
|
37 |
-
torch_dtype=torch.float16,
|
38 |
).to(device)
|
39 |
|
40 |
def predict(image, prompt):
|
|
|
34 |
pipe = StableDiffusionInpaintPipeline.from_pretrained(
|
35 |
"runwayml/stable-diffusion-inpainting",
|
36 |
revision="fp16",
|
37 |
+
#torch_dtype=torch.float16,
|
38 |
).to(device)
|
39 |
|
40 |
def predict(image, prompt):
|