Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,9 +7,6 @@ from typing import Union
|
|
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"
|
|
|
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"
|