Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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()
|