kingabzpro
commited on
Commit
•
687ba09
1
Parent(s):
c4bf674
Sync App files
Browse files- README.md +11 -1
- drug_app.py +7 -1
README.md
CHANGED
@@ -8,4 +8,14 @@ sdk_version: 4.16.0
|
|
8 |
app_file: drug_app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
11 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
app_file: drug_app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
11 |
+
---
|
12 |
+
|
13 |
+
*Learn how to automate model training, evaluation, versioning, and deployment using GitHub Actions with the easiest MLOps guide available online.*
|
14 |
+
|
15 |
+
> **Follow the tutorial:** https://www.datacamp.com/tutorial/ci-cd-for-machine-learning
|
16 |
+
|
17 |
+
## Project Description
|
18 |
+
In this project, we will be using scikit-learn pipelines to train our random forest algorithm and build a drug classifier. After training, we will automate the evaluation process using CML. Finally, we will build and deploy the web application to Hugging Face Hub.
|
19 |
+
|
20 |
+
From training to evaluation, the entire process will be automated using GitHub actions. All you have to do is push the code to your GitHub repository, and within two minutes, the model will be updated on Hugging Face with the updated app, model, and results.
|
21 |
+
|
drug_app.py
CHANGED
@@ -42,7 +42,13 @@ examples = [
|
|
42 |
|
43 |
title = "Drug Classification"
|
44 |
description = "Enter the details to correctly identify Drug type?"
|
45 |
-
article = "
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
|
47 |
|
48 |
gr.Interface(
|
|
|
42 |
|
43 |
title = "Drug Classification"
|
44 |
description = "Enter the details to correctly identify Drug type?"
|
45 |
+
article = """
|
46 |
+
<center>
|
47 |
+
|
48 |
+
This app is a part of the **[Beginner's Guide to CI/CD for Machine Learning](https://www.datacamp.com/tutorial/ci-cd-for-machine-learning)**.
|
49 |
+
|
50 |
+
</center>
|
51 |
+
"""
|
52 |
|
53 |
|
54 |
gr.Interface(
|