raihanp commited on
Commit
f5de5fe
·
verified ·
1 Parent(s): 7b609a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,6 +1,8 @@
1
  from PIL import Image
2
  import torch
3
  import gradio as gr
 
 
4
 
5
  inference = torch.load('fine_tune_resnet.pth')
6
  inference.eval()
 
1
  from PIL import Image
2
  import torch
3
  import gradio as gr
4
+ from torchvision.transforms import Compose, Normalize, ToTensor, Resize, CenterCrop
5
+
6
 
7
  inference = torch.load('fine_tune_resnet.pth')
8
  inference.eval()