Spaces:
Sleeping
Sleeping
checkpoint 360 app
Browse files
app.py
CHANGED
|
@@ -20,8 +20,8 @@ except Exception as e:
|
|
| 20 |
|
| 21 |
# Load Inpainting Model (Without CUDA)
|
| 22 |
try:
|
| 23 |
-
|
| 24 |
-
|
| 25 |
except Exception as e:
|
| 26 |
raise RuntimeError(f"Error loading inpainting model: {e}")
|
| 27 |
|
|
|
|
| 20 |
|
| 21 |
# Load Inpainting Model (Without CUDA)
|
| 22 |
try:
|
| 23 |
+
pipe = StableDiffusionInpaintPipeline.from_pretrained("runwayml/stable-diffusion-inpainting")
|
| 24 |
+
|
| 25 |
except Exception as e:
|
| 26 |
raise RuntimeError(f"Error loading inpainting model: {e}")
|
| 27 |
|