SakibRumu commited on
Commit
b71df7e
·
verified ·
1 Parent(s): 5212d18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -3,9 +3,10 @@ import torch
3
  from PIL import Image
4
  import io
5
  import os
6
- import timm
7
  import torch.nn as nn
8
-
 
 
9
  # Create the 'model' directory if it doesn't exist (for saving the model later)
10
  if not os.path.exists('model'):
11
  os.makedirs('model')
 
3
  from PIL import Image
4
  import io
5
  import os
 
6
  import torch.nn as nn
7
+ import timm
8
+ from torch import nn
9
+ from torchvision import transforms
10
  # Create the 'model' directory if it doesn't exist (for saving the model later)
11
  if not os.path.exists('model'):
12
  os.makedirs('model')