harikrishna1985 commited on
Commit
b2b5c70
Β·
verified Β·
1 Parent(s): 3a58056

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +86 -19
README.md CHANGED
@@ -1,25 +1,92 @@
1
- # Predictive Maintenance Deployment
 
 
 
 
 
 
 
 
2
 
3
- ## Project Overview
4
- This project deploys a predictive maintenance model using Streamlit on Hugging Face Spaces.
5
 
6
- ## Features
7
- - Loads trained model from Hugging Face Model Hub
8
- - Accepts sensor inputs from users
9
- - Converts inputs to a pandas DataFrame
10
- - Predicts engine condition
11
- - Automated CI/CD using GitHub Actions
12
 
13
- ## Repository Structure
14
- [include folder structure]
 
 
 
 
15
 
16
- ## Hugging Face Space
17
- [add your link]
18
 
19
- ## GitHub Actions
20
- [add workflow screenshot]
 
 
 
21
 
22
- ## How to Run Locally
23
- ```bash
24
- pip install -r requirements.txt
25
- streamlit run app.py
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Predictive Maintenance App
3
+ emoji: πŸš€
4
+ colorFrom: blue
5
+ colorTo: green
6
+ sdk: docker
7
+ app_file: app.py
8
+ pinned: false
9
+ ---
10
 
11
+ # πŸš€ Predictive Maintenance System
 
12
 
13
+ ## πŸ“Œ Overview
14
+ This project deploys a **machine learning–based predictive maintenance system** that predicts engine condition using real-time sensor inputs.
 
 
 
 
15
 
16
+ The application is built using:
17
+ - **Streamlit** (UI)
18
+ - **Docker** (deployment environment)
19
+ - **Hugging Face Spaces** (hosting)
20
+ - **Hugging Face Model Hub** (model storage)
21
+ - **GitHub Actions** (CI/CD automation)
22
 
23
+ ---
 
24
 
25
+ ## 🎯 Objective
26
+ The goal of this project is to:
27
+ - Predict potential engine failures
28
+ - Enable proactive maintenance
29
+ - Reduce downtime and operational costs
30
 
31
+ ---
32
+
33
+ ## βš™οΈ Features
34
+
35
+ - βœ… User-friendly Streamlit interface
36
+ - βœ… Real-time prediction from sensor inputs
37
+ - βœ… Model loaded dynamically from Hugging Face Model Hub
38
+ - βœ… Automated deployment via GitHub Actions
39
+ - βœ… Dockerized environment for consistent execution
40
+
41
+ ---
42
+
43
+ ## 🧠 Model Details
44
+
45
+ - **Model Type:** Ensemble (Random Forest / Boosting)
46
+ - **Input Features:**
47
+ - Engine RPM
48
+ - Coolant Temperature
49
+ - Oil Pressure
50
+ - Fuel Pressure
51
+ - Intake Temperature
52
+ - Battery Voltage
53
+
54
+ - **Target:**
55
+ - Engine Condition (Healthy / Fault Risk)
56
+
57
+ ---
58
+
59
+ ## πŸ”„ How It Works
60
+
61
+ 1. User inputs sensor values via the UI
62
+ 2. Inputs are converted into a pandas DataFrame
63
+ 3. Preprocessing pipeline is applied:
64
+ - Validation
65
+ - Missing value handling
66
+ - Feature engineering
67
+ 4. Model is loaded from Hugging Face Model Hub
68
+ 5. Prediction is generated and displayed
69
+
70
+ ---
71
+
72
+ ## πŸ—οΈ Project Structure
73
+
74
+ ```text
75
+ .
76
+ β”œβ”€β”€ app.py
77
+ β”œβ”€β”€ Dockerfile
78
+ β”œβ”€β”€ requirements.txt
79
+ β”œβ”€β”€ README.md
80
+ β”œβ”€β”€ push_to_hf_space.py
81
+ β”‚
82
+ β”œβ”€β”€ config/
83
+ β”‚ └── config.yaml
84
+ β”‚
85
+ β”œβ”€β”€ src/
86
+ β”‚ β”œβ”€β”€ predict.py
87
+ β”‚ β”œβ”€β”€ preprocess.py
88
+ β”‚ └── utils.py
89
+ β”‚
90
+ └── .github/
91
+ └── workflows/
92
+ └── pipeline.yml