Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import torchvision.transforms as transforms
|
|
3 |
from PIL import Image
|
4 |
import torch
|
5 |
from timm.models import create_model
|
|
|
6 |
def predict(input_img):
|
7 |
input_img = Image.fromarray(np.uint8(input_img))
|
8 |
model1 = create_model(
|
|
|
3 |
from PIL import Image
|
4 |
import torch
|
5 |
from timm.models import create_model
|
6 |
+
import numpy as np
|
7 |
def predict(input_img):
|
8 |
input_img = Image.fromarray(np.uint8(input_img))
|
9 |
model1 = create_model(
|