Spaces:
Running
Running
Merge branch 'master' of github.com:fuxialexander/getdemo
Browse files- README.md +4 -4
- app/main.py +1 -1
README.md
CHANGED
@@ -35,16 +35,16 @@ data
|
|
35 |
git clone --recursive [email protected]:fuxialexander/getdemo.git
|
36 |
cd getdemo
|
37 |
docker pull fuxialexander/getdemo:latest
|
38 |
-
docker run -it -v "/path/to/data:/data" --rm -p
|
39 |
-
or
|
40 |
singularity run -w --bind /manitou/pmg/users/xf2217/getdemo:/app --bind /manitou/pmg/users/xf2217/demo_data:/data --bind /pmglocal/xf2217/tmp:/tmp --no-home --pwd /app getdemo
|
41 |
```
|
42 |
-
The gradio interface will be available at http://127.0.0.1:
|
43 |
|
44 |
# Build
|
45 |
```bash
|
46 |
git clone --recursive [email protected]:fuxialexander/getdemo.git
|
47 |
cd getdemo
|
48 |
docker build -t getdemo .
|
49 |
-
docker run -it -v "/path/to/data:/data" --rm -p
|
50 |
```
|
|
|
35 |
git clone --recursive [email protected]:fuxialexander/getdemo.git
|
36 |
cd getdemo
|
37 |
docker pull fuxialexander/getdemo:latest
|
38 |
+
docker run -it -v "/path/to/data:/data" --rm -p 7860:7860 fuxialexander/getdemo
|
39 |
+
# or
|
40 |
singularity run -w --bind /manitou/pmg/users/xf2217/getdemo:/app --bind /manitou/pmg/users/xf2217/demo_data:/data --bind /pmglocal/xf2217/tmp:/tmp --no-home --pwd /app getdemo
|
41 |
```
|
42 |
+
The gradio interface will be available at http://127.0.0.1:7860, a sharable link will be printed in the terminal.
|
43 |
|
44 |
# Build
|
45 |
```bash
|
46 |
git clone --recursive [email protected]:fuxialexander/getdemo.git
|
47 |
cd getdemo
|
48 |
docker build -t getdemo .
|
49 |
+
docker run -it -v "/path/to/data:/data" --rm -p 7860:7860 getdemo
|
50 |
```
|
app/main.py
CHANGED
@@ -33,7 +33,7 @@ args.add_argument("-n", "--host", type=str, default="127.0.0.1")
|
|
33 |
args = args.parse_args()
|
34 |
|
35 |
GET_CONFIG = load_config(
|
36 |
-
"/app/atac_rna_data_processing/atac_rna_data_processing/config/GET"
|
37 |
)
|
38 |
GET_CONFIG.celltype.jacob = True
|
39 |
GET_CONFIG.celltype.num_cls = 2
|
|
|
33 |
args = args.parse_args()
|
34 |
|
35 |
GET_CONFIG = load_config(
|
36 |
+
"/app/modules/atac_rna_data_processing/atac_rna_data_processing/config/GET"
|
37 |
)
|
38 |
GET_CONFIG.celltype.jacob = True
|
39 |
GET_CONFIG.celltype.num_cls = 2
|