xiazhi commited on
Commit
6a26a7c
·
verified ·
1 Parent(s): f04aaad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
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
- # 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
 
 
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