Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,8 @@ from transformers import pipeline
|
|
| 3 |
from PIL import Image, ImageFilter
|
| 4 |
import numpy as np
|
| 5 |
|
|
|
|
|
|
|
| 6 |
# Load models from Hugging Face
|
| 7 |
segmentation_model = pipeline("image-segmentation", model="nvidia/segformer-b1-finetuned-cityscapes-1024-1024")
|
| 8 |
depth_estimator = pipeline("depth-estimation", model="Intel/zoedepth-nyu-kitti")
|
|
|
|
| 3 |
from PIL import Image, ImageFilter
|
| 4 |
import numpy as np
|
| 5 |
|
| 6 |
+
print("Hello")
|
| 7 |
+
|
| 8 |
# Load models from Hugging Face
|
| 9 |
segmentation_model = pipeline("image-segmentation", model="nvidia/segformer-b1-finetuned-cityscapes-1024-1024")
|
| 10 |
depth_estimator = pipeline("depth-estimation", model="Intel/zoedepth-nyu-kitti")
|