Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ from transformers import pipeline
|
|
2 |
|
3 |
depth_estimator = pipeline(task="depth-estimation",
|
4 |
model="Intel/dpt-hybrid-midas")
|
5 |
-
|
6 |
import gradio as gr
|
7 |
from transformers import Pipeline
|
8 |
|
|
|
2 |
|
3 |
depth_estimator = pipeline(task="depth-estimation",
|
4 |
model="Intel/dpt-hybrid-midas")
|
5 |
+
import torch
|
6 |
import gradio as gr
|
7 |
from transformers import Pipeline
|
8 |
|