|
a/README.md |
|
b/README.md |
1 |
# deploy-gradio-ml-on-gcp |
1 |
# deploy-gradio-ml-on-gcp
|
2 |
A demo ML application that provides first aid information to people diagnosed with internal bleeding.A simple ML application built with HuggingFace and Gradio Deployed on GCP |
2 |
A demo ML application that provides first aid information to people diagnosed with internal bleeding.A simple ML application built with HuggingFace and Gradio Deployed on GCP |
3 |
|
3 |
|
4 |
## Live Demo |
4 |
## Live Demo
|
5 |
> https://ml-gradio-demo.ew.r.appspot.com/ |
5 |
https://ml-gradio-demo.ew.r.appspot.com/ |
6 |
|
6 |
|
7 |
## KaggleX Mentee - My Experience |
7 |
## KaggleX Mentee - My Experience
|
8 |
> [LinkedIn Post - My experience as a KaggleX Mentee](https://www.linkedin.com/posts/emmanuel-katchy_kaggle-kagglex-bipoc-activity-7126311581159727105-QzS_?utm_source=share&utm_medium=member_desktop) |
8 |
[LinkedIn Post - My experience as a KaggleX Mentee](https://www.linkedin.com/posts/emmanuel-katchy_kaggle-kagglex-bipoc-activity-7126311581159727105-QzS_?utm_source=share&utm_medium=member_desktop) |
9 |
|
9 |
|
10 |
## KaggleX Program Website |
10 |
## KaggleX Program Website
|
11 |
> https://www.kaggle.com/kagglex |
11 |
https://www.kaggle.com/kagglex
|
12 |
## Helpful Tutorials |
12 |
## Helpful Tutorials
|
13 |
- https://medium.com/@mehmetcanfarsak/ci-cd-using-github-actions-to-deploy-on-gcp-app-engine-in-3-simple-steps-399fa9764cf2 |
13 |
- https://medium.com/@mehmetcanfarsak/ci-cd-using-github-actions-to-deploy-on-gcp-app-engine-in-3-simple-steps-399fa9764cf2 |
14 |
|
14 |
|
15 |
### Notes/Todos: |
15 |
### Notes/Todos:
|
16 |
- You need to disable Gradio flagging in GCloud because the environment is read-only |
16 |
- You need to disable Gradio flagging in GCloud because the environment is read-only
|
17 |
- Allow users to upload scan images, and perform live inference |
17 |
- Allow users to upload scan images, and perform live inference
|
18 |
- To be able to use this template/project, create a blank `env.yaml` locally. Environment variables can then be defined as needed. |
18 |
- To be able to use this template/project, create a blank `env.yaml` locally. Environment variables can then be defined as needed.
|
19 |
An example: |
19 |
An example:
|
20 |
```yaml |
20 |
```yaml
|
21 |
HUGGING_FACE_TOKEN=<YOUR_API_KEY> |
21 |
HUGGING_FACE_TOKEN=<YOUR_API_KEY>
|
22 |
``` |
22 |
```
|