umuthopeyildirim commited on
Commit
7a8232f
1 Parent(s): 20bb053

Commented out unnecessary line in app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ with gr.Blocks(css=css) as demo:
82
  image = torch.from_numpy(image.transpose((2, 0, 1)))
83
  image = Normalize(mean=[0.485, 0.456, 0.406], std=[
84
  0.229, 0.224, 0.225])(image)
85
- image = torch.from_numpy(image).unsqueeze(0)
86
  image = torch.autograd.Variable(image.unsqueeze(0))
87
 
88
  depth = predict_depth(model, image)
 
82
  image = torch.from_numpy(image.transpose((2, 0, 1)))
83
  image = Normalize(mean=[0.485, 0.456, 0.406], std=[
84
  0.229, 0.224, 0.225])(image)
85
+ # image = torch.from_numpy(image).unsqueeze(0)
86
  image = torch.autograd.Variable(image.unsqueeze(0))
87
 
88
  depth = predict_depth(model, image)