stale2000 commited on
Commit
88c8f2a
·
1 Parent(s): 8150246

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ from torch import autocast
17
  openai.api_key = os.getenv('openaikey')
18
 
19
  device = "cuda" if torch.cuda.is_available() else "cpu"
20
- pipe = StableDiffusionPipeline.from_pretrained("stale2000/sd-dnditem", torch_dtype=torch.float16)
21
  pipe = pipe.to(device)
22
 
23
  def predict(input, manual_query_repacement, history=[]):
 
17
  openai.api_key = os.getenv('openaikey')
18
 
19
  device = "cuda" if torch.cuda.is_available() else "cpu"
20
+ pipe = StableDiffusionPipeline.from_pretrained("stale2000/sd-dnditem", torch_dtype=torch.float16, use_auth_token=True)
21
  pipe = pipe.to(device)
22
 
23
  def predict(input, manual_query_repacement, history=[]):