Geek7 commited on
Commit
aa46979
1 Parent(s): 15bf3bd

Update myapp.py

Browse files
Files changed (1) hide show
  1. myapp.py +1 -1
myapp.py CHANGED
@@ -10,7 +10,7 @@ CORS(myapp) # Enable CORS for all routes
10
 
11
  # Initialize the Stable Diffusion pipeline using CPU
12
  model_url = "https://huggingface.co/WarriorMama777/OrangeMixs/blob/main/Models/AbyssOrangeMix/AbyssOrangeMix.safetensors"
13
- pipeline = StableDiffusionPipeline.from_single_file(model_url, torch_dtype=torch.float16)
14
  pipeline = pipeline.to("cpu") # Set to use CPU
15
 
16
  @myapp.route('/')
 
10
 
11
  # Initialize the Stable Diffusion pipeline using CPU
12
  model_url = "https://huggingface.co/WarriorMama777/OrangeMixs/blob/main/Models/AbyssOrangeMix/AbyssOrangeMix.safetensors"
13
+ pipeline = StableDiffusionPipeline.from_single_file(model_url, torch_dtype=torch.float32)
14
  pipeline = pipeline.to("cpu") # Set to use CPU
15
 
16
  @myapp.route('/')