Commit
·
a877516
1
Parent(s):
cd7e597
torch version
Browse files
models.py
CHANGED
|
@@ -29,6 +29,7 @@ def flush():
|
|
| 29 |
|
| 30 |
class ControlNetPipeline:
|
| 31 |
def __init__(self):
|
|
|
|
| 32 |
self.in_use = False
|
| 33 |
self.controlnet = ControlNetModel.from_pretrained(
|
| 34 |
"BertChristiaens/controlnet-seg-room", torch_dtype=torch.float16)
|
|
|
|
| 29 |
|
| 30 |
class ControlNetPipeline:
|
| 31 |
def __init__(self):
|
| 32 |
+
print(torch.__version__)
|
| 33 |
self.in_use = False
|
| 34 |
self.controlnet = ControlNetModel.from_pretrained(
|
| 35 |
"BertChristiaens/controlnet-seg-room", torch_dtype=torch.float16)
|