JoPmt commited on
Commit
251c2ed
1 Parent(s): 7cf6b76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.float16
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.bfloat16
45
 
46
  if os.path.exists(os.path.join(model_path, "transformer_ema")):
47
  subfolder = "transformer_ema"