Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ snapshot_download(repo_id="BestWishYsh/ConsisID-preview", local_dir="BestWishYsh
|
|
41 |
model_path = "BestWishYsh/ConsisID-preview"
|
42 |
lora_path = None
|
43 |
lora_rank = 128
|
44 |
-
dtype = torch.
|
45 |
|
46 |
if os.path.exists(os.path.join(model_path, "transformer_ema")):
|
47 |
subfolder = "transformer_ema"
|
|
|
41 |
model_path = "BestWishYsh/ConsisID-preview"
|
42 |
lora_path = None
|
43 |
lora_rank = 128
|
44 |
+
dtype = torch.float16
|
45 |
|
46 |
if os.path.exists(os.path.join(model_path, "transformer_ema")):
|
47 |
subfolder = "transformer_ema"
|