Spaces:
Running
on
Zero
Running
on
Zero
working
Browse files- predict.py +1 -1
predict.py
CHANGED
@@ -18,7 +18,7 @@ class Predictor(BasePredictor):
|
|
18 |
def predict(self,
|
19 |
hf_token: Secret = Input(description="Hugging Face API token. Create a write token at https://huggingface.co/settings/token. You also need to approve the Flux Dev terms."),
|
20 |
image: Path = Input(description="Image file path", default="https://github.com/nftblackmagic/catvton-flux/raw/main/example/person/1.jpg"),
|
21 |
-
mask: Path = Input(description="Mask file path", default="https://github.com/nftblackmagic/catvton-flux/blob/main/example/person/1_mask.png"),
|
22 |
try_on: bool = Input(True, description="Try on or try off"),
|
23 |
garment: Path = Input(description="Garment file path", default="https://github.com/nftblackmagic/catvton-flux/raw/main/example/garment/00035_00.jpg"),
|
24 |
num_steps: int = Input(50, description="Number of steps to run the model for"),
|
|
|
18 |
def predict(self,
|
19 |
hf_token: Secret = Input(description="Hugging Face API token. Create a write token at https://huggingface.co/settings/token. You also need to approve the Flux Dev terms."),
|
20 |
image: Path = Input(description="Image file path", default="https://github.com/nftblackmagic/catvton-flux/raw/main/example/person/1.jpg"),
|
21 |
+
mask: Path = Input(description="Mask file path", default="https://github.com/nftblackmagic/catvton-flux/blob/main/example/person/1_mask.png?raw=true"),
|
22 |
try_on: bool = Input(True, description="Try on or try off"),
|
23 |
garment: Path = Input(description="Garment file path", default="https://github.com/nftblackmagic/catvton-flux/raw/main/example/garment/00035_00.jpg"),
|
24 |
num_steps: int = Input(50, description="Number of steps to run the model for"),
|