Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
import gradio as gr
|
|
|
|
|
|
|
2 |
|
3 |
def greet(name):
|
4 |
-
from transformers import pipeline
|
5 |
-
from PIL import Image
|
6 |
-
import requests
|
7 |
-
|
8 |
# load pipe
|
9 |
pipe = pipeline(task="depth-estimation", model="LiheYoung/depth-anything-small-hf")
|
10 |
|
|
|
1 |
import gradio as gr
|
2 |
+
from transformers import pipeline
|
3 |
+
from PIL import Image
|
4 |
+
import requests
|
5 |
|
6 |
def greet(name):
|
|
|
|
|
|
|
|
|
7 |
# load pipe
|
8 |
pipe = pipeline(task="depth-estimation", model="LiheYoung/depth-anything-small-hf")
|
9 |
|