Spaces:
Running
Running
ciover2024
commited on
Commit
•
8b0b992
1
Parent(s):
12f7b19
Update app.py
Browse files
app.py
CHANGED
@@ -329,8 +329,8 @@ def generate_image(image_path, mask_path, text_prompt="undress", negative_prompt
|
|
329 |
-64, # int | float (numeric value between -64 and 64) in 'Mask Erode or Dilate' Slider component
|
330 |
True, # bool in 'Invert Mask' Checkbox component
|
331 |
fn_index=67
|
332 |
-
)
|
333 |
-
print(result)
|
334 |
|
335 |
# Function to generate the mask using Florence SAM Masking API (Replicate)
|
336 |
def generate_mask(image_path, text_prompt="clothing"):
|
|
|
329 |
-64, # int | float (numeric value between -64 and 64) in 'Mask Erode or Dilate' Slider component
|
330 |
True, # bool in 'Invert Mask' Checkbox component
|
331 |
fn_index=67
|
332 |
+
)
|
333 |
+
print(result)
|
334 |
|
335 |
# Function to generate the mask using Florence SAM Masking API (Replicate)
|
336 |
def generate_mask(image_path, text_prompt="clothing"):
|