akhaliq HF staff commited on
Commit
5a3dc03
1 Parent(s): a394b1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -3,6 +3,9 @@ from PIL import Image
3
  import src.depth_pro as depth_pro
4
  import numpy as np
5
  import matplotlib.pyplot as plt
 
 
 
6
 
7
  # Load model and preprocessing transform
8
  model, transform = depth_pro.create_model_and_transforms()
 
3
  import src.depth_pro as depth_pro
4
  import numpy as np
5
  import matplotlib.pyplot as plt
6
+ import os
7
+
8
+ os.system("source get_pretrained_models.sh")
9
 
10
  # Load model and preprocessing transform
11
  model, transform = depth_pro.create_model_and_transforms()