Spaces:
Running
Running
ciover2024
commited on
Commit
•
a035c0c
1
Parent(s):
3819de5
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,8 @@ 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 |
device = "cpu" # Explicitly use CPU
|
19 |
pipe = StableDiffusionInpaintPipeline.from_single_file(
|
20 |
model_path,
|
|
|
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(
|
21 |
model_path,
|