kedimestan
commited on
Commit
•
03b5980
1
Parent(s):
045c368
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ app = FastAPI()
|
|
14 |
|
15 |
# Load the model and processor once, globally
|
16 |
processor = DPTImageProcessor.from_pretrained("Intel/dpt-large")
|
17 |
-
model = DPTForDepthEstimation.from_pretrained("
|
18 |
|
19 |
# Define the focal length and sensor width (adjust these values based on your camera)
|
20 |
focal_length = 14.35
|
|
|
14 |
|
15 |
# Load the model and processor once, globally
|
16 |
processor = DPTImageProcessor.from_pretrained("Intel/dpt-large")
|
17 |
+
model = DPTForDepthEstimation.from_pretrained("model/")
|
18 |
|
19 |
# Define the focal length and sensor width (adjust these values based on your camera)
|
20 |
focal_length = 14.35
|