panelforge commited on
Commit
8fe98c0
·
verified ·
1 Parent(s): 522d992

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ if torch.cuda.is_available():
13
  else:
14
  torch_dtype = torch.float32
15
 
16
- pipeline = DiffusionPipeline.from_pretrained("John6666/wai-ani-nsfw-ponyxl-v8-sdxl")
17
  pipe = pipe.to(device)
18
 
19
  MAX_SEED = np.iinfo(np.int32).max
 
13
  else:
14
  torch_dtype = torch.float32
15
 
16
+ pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch_dtype)
17
  pipe = pipe.to(device)
18
 
19
  MAX_SEED = np.iinfo(np.int32).max