Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -9,13 +9,13 @@ from cell_segmentation.inference.inference_cellvit_experiment_monuseg import Inf
|
|
9 |
|
10 |
## local | remote
|
11 |
RUN_MODE = "remote"
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
|
20 |
## step 1: set up model
|
21 |
|
|
|
9 |
|
10 |
## local | remote
|
11 |
RUN_MODE = "remote"
|
12 |
+
if RUN_MODE != "local":
|
13 |
+
os.system("wget https://huggingface.co/xiazhi/LKCell-demo/resolve/main/model_best.pth")
|
14 |
+
## examples
|
15 |
+
os.system("wget https://huggingface.co/xiazhi/LKCell-demo/resolve/main/1.png")
|
16 |
+
os.system("wget https://huggingface.co/xiazhi/LKCell-demo/resolve/main/2.png")
|
17 |
+
os.system("wget https://huggingface.co/xiazhi/LKCell-demo/resolve/main/3.png")
|
18 |
+
os.system("wget https://huggingface.co/xiazhi/LKCell-demo/resolve/main/4.png")
|
19 |
|
20 |
## step 1: set up model
|
21 |
|