Beasto commited on
Commit
eb1380e
·
1 Parent(s): e9c50f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +32 -6
app.py CHANGED
@@ -4,15 +4,13 @@ import json
4
  from streamlit_lottie import st_lottie
5
  from PIL import Image
6
 
7
- st.set_page_config(layout="wide")
8
-
9
  def lottiemaker(path):
10
  with open(path) as f:
11
  return json.load(f)
12
 
13
  def loadimg(path):
14
  img = Image.open(path)
15
- img = img.resize((250,250))
16
  return img
17
 
18
  selected = option_menu(
@@ -25,7 +23,7 @@ selected = option_menu(
25
  if selected == 'About me':
26
  col1,col2 = st.columns(2)# Display the Lottie animation in the first column
27
  with col1:
28
- st_lottie(lottiemaker('Animation - 1704777936737.json'), speed=1, width=300, height=300)
29
  with col2:
30
  st.write('# Hi, I am Pallab Ghosh')
31
 
@@ -35,7 +33,7 @@ if selected == 'About me':
35
  st.write("My passion include Machine Learning, Programming, Gaming, Football, Badminton, Maths, etc")
36
  st.write('I am currently in High school')
37
  st.write('I have been learning Machine learning since 2021 and have Made more than 50 projects in the field of Machine Learning')
38
-
39
  if selected == 'Tools and Experience':
40
  st.write('# Tools I use to train AI')
41
  col1,col2,col3,col4 = st.columns(4)
@@ -77,7 +75,35 @@ if selected == 'Tools and Experience':
77
  st.write("Deep Convolutional Genertive Adversarial Network")
78
  with col4:
79
  st.image(loadimg('Cyclegan.jpg'),use_column_width=False)
80
- st.write("Cycle Consistent Generative Adversarial Network")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
 
82
  elif selected == 'Projects':
83
  st.write(selected)
 
4
  from streamlit_lottie import st_lottie
5
  from PIL import Image
6
 
 
 
7
  def lottiemaker(path):
8
  with open(path) as f:
9
  return json.load(f)
10
 
11
  def loadimg(path):
12
  img = Image.open(path)
13
+ img = img.resize((150,150))
14
  return img
15
 
16
  selected = option_menu(
 
23
  if selected == 'About me':
24
  col1,col2 = st.columns(2)# Display the Lottie animation in the first column
25
  with col1:
26
+ st_lottie(lottiemaker('Animation - 1704777936737.json'), speed=1, width=200, height=200)
27
  with col2:
28
  st.write('# Hi, I am Pallab Ghosh')
29
 
 
33
  st.write("My passion include Machine Learning, Programming, Gaming, Football, Badminton, Maths, etc")
34
  st.write('I am currently in High school')
35
  st.write('I have been learning Machine learning since 2021 and have Made more than 50 projects in the field of Machine Learning')
36
+ st.write('---')
37
  if selected == 'Tools and Experience':
38
  st.write('# Tools I use to train AI')
39
  col1,col2,col3,col4 = st.columns(4)
 
75
  st.write("Deep Convolutional Genertive Adversarial Network")
76
  with col4:
77
  st.image(loadimg('Cyclegan.jpg'),use_column_width=False)
78
+ st.write("Cycle Consistent Generative Adversarial Network")
79
+
80
+ col1,col2,col3,col4 = st.columns(4)
81
+ with col1:
82
+ st.image(loadimg('pix2pix.png'),use_column_width=False)
83
+ st.write("Pix2Pix")
84
+ with col2:
85
+ st.image(loadimg('Yolo.jpg'),use_column_width=False)
86
+ st.write("Object Detection using YOLO")
87
+ with col3:
88
+ st.image(loadimg('Unet.png'),use_column_width=False)
89
+ st.write("Unet model for semantic segmentation")
90
+ with col4:
91
+ st.image(loadimg('segyolo.jpg'),use_column_width=False)
92
+ st.write("Instance Segmentation using YOLO")
93
+
94
+ col1,col2,col3,col4 = st.columns(4)
95
+ with col1:
96
+ st.image(loadimg('Linear.png'),use_column_width=False)
97
+ st.write("Pix2Pix")
98
+ with col2:
99
+ st.image(loadimg('Logistic.jpg'),use_column_width=False)
100
+ st.write("Object Detection using YOLO")
101
+ with col3:
102
+ st.image(loadimg('naive bayes.png'),use_column_width=False)
103
+ st.write("Unet model for semantic segmentation")
104
+ with col4:
105
+ st.image(loadimg('DecisionTree.jpg'),use_column_width=False)
106
+ st.write("Instance Segmentation using YOLO")
107
 
108
  elif selected == 'Projects':
109
  st.write(selected)