Shrikrishna commited on
Commit
4aec781
1 Parent(s): 3968d99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -8
app.py CHANGED
@@ -15,26 +15,28 @@ __class_number_to_name = {}
15
  __model = None
16
 
17
  st.header("Welcome to Indian Cricketers Classifier!")
18
- col1,col2,col3,col4,col5,col6 = st.columns(6)
19
  with col1:
20
  dhoni = cv2.imread("dhoni.jpg")
21
  st.image(dhoni,width=100, caption='MS Dhoni')
 
 
 
22
  with col2:
23
  dravid = cv2.imread("rahul.jpg")
24
  st.image(dravid,width=100, caption='Rahul Dravid')
 
 
 
25
  with col3:
26
  sachin = cv2.imread("sachin.jpg")
27
  st.image(sachin,width=100, caption='Sachin Tendulkar')
28
- with col4:
29
- ganguly = cv2.imread("ganguly.jpg")
30
- st.image(ganguly,width=100, caption='Saurav Ganguly')
31
- with col5:
32
- virat = cv2.imread("virat.jpg")
33
- st.image(virat,width=100, caption='Virat Kohli')
34
- with col5:
35
  sehwag = cv2.imread("sehwag.jpg")
36
  st.image(sehwag,width=100, caption='Virendra Sehwag')
37
 
 
 
38
 
39
 
40
  def classify_image(image_base64_data, file_path=None):
 
15
  __model = None
16
 
17
  st.header("Welcome to Indian Cricketers Classifier!")
18
+ col1,col2,col3 = st.columns(3)
19
  with col1:
20
  dhoni = cv2.imread("dhoni.jpg")
21
  st.image(dhoni,width=100, caption='MS Dhoni')
22
+
23
+ ganguly = cv2.imread("ganguly.jpg")
24
+ st.image(ganguly,width=100, caption='Saurav Ganguly')
25
  with col2:
26
  dravid = cv2.imread("rahul.jpg")
27
  st.image(dravid,width=100, caption='Rahul Dravid')
28
+
29
+ virat = cv2.imread("virat.jpg")
30
+ st.image(virat,width=100, caption='Virat Kohli')
31
  with col3:
32
  sachin = cv2.imread("sachin.jpg")
33
  st.image(sachin,width=100, caption='Sachin Tendulkar')
34
+
 
 
 
 
 
 
35
  sehwag = cv2.imread("sehwag.jpg")
36
  st.image(sehwag,width=100, caption='Virendra Sehwag')
37
 
38
+
39
+
40
 
41
 
42
  def classify_image(image_base64_data, file_path=None):