jamino30 commited on
Commit
f303d12
·
verified ·
1 Parent(s): 3ef9484

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -12,8 +12,7 @@ import torchvision.models as models
12
  import gradio as gr
13
  from gradio_imageslider import ImageSlider
14
 
15
- device = 'mps'
16
- # device = 'cuda' if torch.cuda.is_available() else 'cpu'
17
  print('DEVICE:', device)
18
 
19
  class VGG_19(nn.Module):
 
12
  import gradio as gr
13
  from gradio_imageslider import ImageSlider
14
 
15
+ device = 'cuda' if torch.cuda.is_available() else 'cpu'
 
16
  print('DEVICE:', device)
17
 
18
  class VGG_19(nn.Module):