Spaces:
Sleeping
Sleeping
Commit
•
a54a273
1
Parent(s):
f20b422
Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,9 @@ import gradio as gr
|
|
3 |
import numpy as np
|
4 |
import torch
|
5 |
import sys
|
|
|
6 |
from tinysam import sam_model_registry, SamPredictor
|
7 |
|
8 |
-
|
9 |
snapshot_download("merve/tinysam", local_dir="tinysam")
|
10 |
|
11 |
model_type = "vit_t"
|
|
|
3 |
import numpy as np
|
4 |
import torch
|
5 |
import sys
|
6 |
+
import os
|
7 |
from tinysam import sam_model_registry, SamPredictor
|
8 |
|
|
|
9 |
snapshot_download("merve/tinysam", local_dir="tinysam")
|
10 |
|
11 |
model_type = "vit_t"
|