Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ from gradio_client import Client, handle_file
|
|
| 14 |
# Load the model once globally to avoid repeated loading
|
| 15 |
def load_inpainting_model():
|
| 16 |
model_path = "uberRealisticPornMerge_v23Inpainting.safetensors"
|
| 17 |
-
model_path = "pornmasterFantasy_v4-inpainting.safetensors"
|
| 18 |
#model_path = "pornmasterAmateur_v6Vae-inpainting.safetensors"
|
| 19 |
device = "cpu" # Explicitly use CPU
|
| 20 |
pipe = StableDiffusionInpaintPipeline.from_single_file(
|
|
|
|
| 14 |
# Load the model once globally to avoid repeated loading
|
| 15 |
def load_inpainting_model():
|
| 16 |
model_path = "uberRealisticPornMerge_v23Inpainting.safetensors"
|
| 17 |
+
#model_path = "pornmasterFantasy_v4-inpainting.safetensors"
|
| 18 |
#model_path = "pornmasterAmateur_v6Vae-inpainting.safetensors"
|
| 19 |
device = "cpu" # Explicitly use CPU
|
| 20 |
pipe = StableDiffusionInpaintPipeline.from_single_file(
|