Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from theia.decoding import load_feature_stats, prepare_depth_decoder, prepare_ma
|
|
8 |
|
9 |
@spaces.GPU
|
10 |
def run_theia(image):
|
11 |
-
theia_model = AutoModel.from_pretrained("theaiinstitute/theia-
|
12 |
theia_model = theia_model.to('cuda')
|
13 |
target_model_names = [
|
14 |
"google/vit-huge-patch14-224-in21k",
|
|
|
8 |
|
9 |
@spaces.GPU
|
10 |
def run_theia(image):
|
11 |
+
theia_model = AutoModel.from_pretrained("theaiinstitute/theia-tiny-patch16-224-cddsv", trust_remote_code=True)
|
12 |
theia_model = theia_model.to('cuda')
|
13 |
target_model_names = [
|
14 |
"google/vit-huge-patch14-224-in21k",
|