SakibRumu commited on
Commit
6ef3e6e
·
verified ·
1 Parent(s): a40ba02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -1,13 +1,12 @@
1
  import gradio as gr
2
  import torch
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
  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')
 
1
  import gradio as gr
2
  import torch
 
 
 
 
3
  import timm
4
  from torch import nn
5
  from torchvision import transforms
6
+ from PIL import Image
7
  import torchvision.models as models
8
+
9
+
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')