Remove unnecessary Image imports
Browse files- handler.py +0 -2
handler.py
CHANGED
|
@@ -1,8 +1,6 @@
|
|
| 1 |
from typing import Dict, List, Any
|
| 2 |
import torch
|
| 3 |
from diffusers import StableDiffusionPipeline, EulerAncestralDiscreteScheduler
|
| 4 |
-
from PIL import Image
|
| 5 |
-
|
| 6 |
|
| 7 |
# set device
|
| 8 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
|
|
|
| 1 |
from typing import Dict, List, Any
|
| 2 |
import torch
|
| 3 |
from diffusers import StableDiffusionPipeline, EulerAncestralDiscreteScheduler
|
|
|
|
|
|
|
| 4 |
|
| 5 |
# set device
|
| 6 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|