Spaces:
Running on Zero
Running on Zero
Harmonize default to k5 (drop at step 5 of 8)
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ BUDGETS = {
|
|
| 48 |
"Fast 路 512": (512, 512 * 896),
|
| 49 |
}
|
| 50 |
DEFAULT_BUDGET = "Balanced 路 640"
|
| 51 |
-
HARMONIZE_DROP_FRAC = 0.
|
| 52 |
OUTPUT_DIR = os.path.join(tempfile.gettempdir(), "bgswap-outputs")
|
| 53 |
os.makedirs(OUTPUT_DIR, exist_ok=True)
|
| 54 |
|
|
|
|
| 48 |
"Fast 路 512": (512, 512 * 896),
|
| 49 |
}
|
| 50 |
DEFAULT_BUDGET = "Balanced 路 640"
|
| 51 |
+
HARMONIZE_DROP_FRAC = 0.625 # harmonize: drop the mask after this fraction of the denoise steps (k5 of 8: most faithful + lighting)
|
| 52 |
OUTPUT_DIR = os.path.join(tempfile.gettempdir(), "bgswap-outputs")
|
| 53 |
os.makedirs(OUTPUT_DIR, exist_ok=True)
|
| 54 |
|