1-13-am commited on
Commit
67754d0
1 Parent(s): 6c74699

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,6 +1,9 @@
1
  import gradio as gr
2
  import torchvision
3
  import torchvision.transforms as transforms
 
 
 
4
 
5
  def normalize():
6
  MEAN = [0.485, 0.456, 0.406]
 
1
  import gradio as gr
2
  import torchvision
3
  import torchvision.transforms as transforms
4
+ import torch
5
+
6
+ model = torch.jit.load('https://huggingface.co/spaces/1-13-am/neural-style-transfer/blob/main/neural_style_transfer.pt')
7
 
8
  def normalize():
9
  MEAN = [0.485, 0.456, 0.406]