Binlaveloos commited on
Commit
0dc8d34
·
verified ·
1 Parent(s): 664df21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -9,8 +9,8 @@ import os
9
  import spaces
10
  import json
11
 
12
- #dpt_beit = pipeline(task = "depth-estimation", model="Intel/dpt-beit-base-384", device=0)
13
- dpt_beit = pipeline(task = "depth-estimation", model="Intel/dpt-beit-large-512", device=0)
14
 
15
  #depth_anything = pipeline(task = "depth-estimation", model="nielsr/depth-anything-small", device=0)
16
  depth_anything = pipeline(task = "depth-estimation", model="LiheYoung/depth-anything-large-hf", device=0)
@@ -67,4 +67,4 @@ with gr.Blocks(css=css) as demo:
67
  input_img.change(infer, [input_img], [output_1, output_2, output_3])
68
 
69
 
70
- demo.launch(debug=True)
 
9
  import spaces
10
  import json
11
 
12
+ dpt_beit = pipeline(task = "depth-estimation", model="Intel/dpt-beit-base-384", device=0)
13
+ #dpt_beit = pipeline(task = "depth-estimation", model="Intel/dpt-beit-large-512", device=0)
14
 
15
  #depth_anything = pipeline(task = "depth-estimation", model="nielsr/depth-anything-small", device=0)
16
  depth_anything = pipeline(task = "depth-estimation", model="LiheYoung/depth-anything-large-hf", device=0)
 
67
  input_img.change(infer, [input_img], [output_1, output_2, output_3])
68
 
69
 
70
+ demo.launch(debug=True, share=True)