Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -737,7 +737,7 @@ class WatermelonProcessor:
|
|
| 737 |
|
| 738 |
def draw_base(r_m, f_m):
|
| 739 |
out = image.copy().astype(np.float32)
|
| 740 |
-
alpha = 0.
|
| 741 |
|
| 742 |
# --- THE FIX: Only paint the rind where there is NO flesh ---
|
| 743 |
rind_only = (r_m > 0) & (f_m == 0)
|
|
|
|
| 737 |
|
| 738 |
def draw_base(r_m, f_m):
|
| 739 |
out = image.copy().astype(np.float32)
|
| 740 |
+
alpha = 0.18 # Transparency
|
| 741 |
|
| 742 |
# --- THE FIX: Only paint the rind where there is NO flesh ---
|
| 743 |
rind_only = (r_m > 0) & (f_m == 0)
|