Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ from transformers import AutoModelForImageSegmentation
|
|
5 |
import torch
|
6 |
from torchvision import transforms
|
7 |
from typing import Union, Tuple
|
|
|
8 |
|
9 |
torch.set_float32_matmul_precision(["high", "highest"][0])
|
10 |
|
|
|
5 |
import torch
|
6 |
from torchvision import transforms
|
7 |
from typing import Union, Tuple
|
8 |
+
from PIL import Image
|
9 |
|
10 |
torch.set_float32_matmul_precision(["high", "highest"][0])
|
11 |
|