selmee commited on
Commit
864f458
·
verified ·
1 Parent(s): cdc2be3

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -0
main.py CHANGED
@@ -7,6 +7,9 @@ from typing import Union
7
  from pathlib import Path
8
  import os
9
 
 
 
 
10
  def predict_depth(image: Image.Image, auto_rotate: bool, remove_alpha: bool, model, transform):
11
  # Convert the PIL image to a temporary file path if needed
12
  image_path = "temp_image.jpg"
 
7
  from pathlib import Path
8
  import os
9
 
10
+ import os
11
+ os.system("pip install -e .")
12
+
13
  def predict_depth(image: Image.Image, auto_rotate: bool, remove_alpha: bool, model, transform):
14
  # Convert the PIL image to a temporary file path if needed
15
  image_path = "temp_image.jpg"