colt12 commited on
Commit
5545537
·
verified ·
1 Parent(s): 6d61597

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -2
handler.py CHANGED
@@ -7,9 +7,8 @@ import os
7
  class InferenceHandler:
8
  def __init__(self):
9
  self.device = "cuda" if torch.cuda.is_available() else "cpu"
10
- model_name = "colt12/maxcushion"
11
 
12
- # Load the pipeline with authentication
13
  self.pipe = StableDiffusionXLPipeline.from_pretrained(
14
  model_name,
15
  torch_dtype=torch.float16,
 
7
  class InferenceHandler:
8
  def __init__(self):
9
  self.device = "cuda" if torch.cuda.is_available() else "cpu"
10
+ model_name = "./" # Use the current directory
11
 
 
12
  self.pipe = StableDiffusionXLPipeline.from_pretrained(
13
  model_name,
14
  torch_dtype=torch.float16,