Caroline Mai Chan commited on
Commit
0c911ca
1 Parent(s): 3a27073

debugging 3000

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -89,7 +89,7 @@ model.eval()
89
 
90
  def predict(input_img):
91
  input_img = Image.open(input_img)
92
- transforms.Compose([transforms.Resize(256, Image.BICUBIC), transforms.ToTensor()])
93
  input_img = transform(input_img)
94
  input_img = torch.unsqueeze(input_img, 0)
95
 
@@ -101,7 +101,7 @@ def predict(input_img):
101
 
102
  title="informative-drawings"
103
  description="Gradio Demo for line drawing generation. "
104
- article = "<p style='text-align: center'><a href='https://film-net.github.io/' target='_blank'>FILM: Frame Interpolation for Large Motion</a> | <a href='https://github.com/google-research/frame-interpolation' target='_blank'>Github Repo</a></p>"
105
  examples=[['cat.png']]
106
 
107
 
 
89
 
90
  def predict(input_img):
91
  input_img = Image.open(input_img)
92
+ transform = transforms.Compose([transforms.Resize(256, Image.BICUBIC), transforms.ToTensor()])
93
  input_img = transform(input_img)
94
  input_img = torch.unsqueeze(input_img, 0)
95
 
 
101
 
102
  title="informative-drawings"
103
  description="Gradio Demo for line drawing generation. "
104
+ article = "<p style='text-align: center'><a href='TODO' target='_blank'>Project Page</a> | <a href='codelink' target='_blank'>Github</a></p>"
105
  examples=[['cat.png']]
106
 
107