Spaces:
Running
Running
ciover2024
commited on
Commit
•
3819de5
1
Parent(s):
beb2f60
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,8 @@ from gradio_client import Client, handle_file
|
|
13 |
|
14 |
# Load the model once globally to avoid repeated loading
|
15 |
def load_inpainting_model():
|
16 |
-
model_path = "uberRealisticPornMerge_v23Inpainting.safetensors"
|
|
|
17 |
device = "cpu" # Explicitly use CPU
|
18 |
pipe = StableDiffusionInpaintPipeline.from_single_file(
|
19 |
model_path,
|
|
|
13 |
|
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,
|