analytics-jiten commited on
Commit
e25eb00
·
1 Parent(s): 2ede74d

Create home.py

Browse files
Files changed (1) hide show
  1. home.py +17 -0
home.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ from PIL import Image
3
+
4
+ def run():
5
+ # Add Picture
6
+ image = Image.open('mechanical_parts.jpg')
7
+ st.image(image, caption='Mechanical Parts')
8
+ # Title
9
+ st.title('About This Project')
10
+ st.markdown('---')
11
+ st.write('###### The main objective of this project is implementing a machine learning model, namely Convolutional Neural Networks (CNN), to classify four categories of mechanical parts: bolt, locatingpin, nut, and washer')
12
+ st.markdown('---')
13
+
14
+
15
+
16
+ if __name__ == '__main__':
17
+ run()