Spaces:
Build error
Build error
SakibRumu
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,7 @@ 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')
|
|
|
|
| 7 |
import timm
|
| 8 |
from torch import nn
|
| 9 |
from torchvision import transforms
|
| 10 |
+
import torchvision.models as models
|
| 11 |
# Create the 'model' directory if it doesn't exist (for saving the model later)
|
| 12 |
if not os.path.exists('model'):
|
| 13 |
os.makedirs('model')
|