Junlinh commited on
Commit
fd69cdf
·
1 Parent(s): 2b5762c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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(