@@ -6,49 +6,49 @@ A pretty and customizable web app to deploy your Deep Learning (DL) model with e
66
771 . Clone the repo
88
9- ``` shell
10- $ git clone https://github.com/SuperBruceJia/pytorch-flask-deploy-webapp.git
11- ```
9+ ``` shell
10+ $ git clone https://github.com/SuperBruceJia/pytorch-flask-deploy-webapp.git
11+ ```
1212
13132. Run the following instructions
1414
1515 1). Build Docker Image
16-
17- ``` shell
18- $ docker build -t ner-model .
19- ```
16+ 17+ ` ` ` shell
18+ $ docker build -t ner-model .
19+ ` ` `
2020
2121 2). Make and Run a container for the above Image
2222
23- ``` shell
24- docker run -e LANG=C.UTF-8 -e LC_ALL=C.UTF-8 -it --rm -d -p 8000:8000 ner-model
25- ```
26-
27- or
28-
29- ``` shell
30- $ docker run -d -p 8000:8000 ner-model
31- ```
23+ ` ` ` shell
24+ docker run -e LANG=C.UTF-8 -e LC_ALL=C.UTF-8 -it --rm -d -p 8000:8000 ner-model
25+ ` ` `
26+ 27+ or
28+ 29+ ` ` ` shell
30+ $ docker run -d -p 8000:8000 ner-model
31+ ` ` `
3232
33333. Open the following URL (Google Chrome is recommended)
3434
35- ``` html
36- http://0.0.0.0:8000/apidocs/#!/default/get_predict
37- ```
38-
39- or
40-
41- ``` html
42- http://0.0.0.0:8000/apidocs
43- ```
35+ ` ` ` html
36+ http://0.0.0.0:8000/apidocs/# !/default/get_predict
37+ ` ` `
38+ 39+ or
40+ 41+ ` ` ` html
42+ http://0.0.0.0:8000/apidocs
43+ ` ` `
4444
45454. Input a medical sentence (in Chinese) and see the recognized entities!
4646
47- <p align =" center " >
48- <a href="https://github.com/SuperBruceJia/pytorch-flask-deploy-webapp"> <img src="https://github.com/SuperBruceJia/pytorch-flask-deploy-webapp/raw/master/screenshot.png"></a>
49- </p >
47+ < p align=" center" >
48+ < a href=" https://github.com/SuperBruceJia/pytorch-flask-deploy-webapp" > < img src=" https://github.com/SuperBruceJia/pytorch-flask-deploy-webapp/raw/master/screenshot.png" ></a>
49+ < /p>
5050
51- 🏆 Enjoy your journey!
51+ 🏆 Enjoy your journey!
5252
5353# # Docker Image
5454
0 commit comments