Spaces:
Build error
Build error
SakibRumu commited on
Update app.py
Browse files
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')
|