Update app.py
Browse files
app.py
CHANGED
|
@@ -159,7 +159,7 @@ elif selected == 'Projects':
|
|
| 159 |
st.write('I have made more than 50 projects in fields including CNN, GAN, Machine Learning, Yolo object detection and segmentation, Pix2pix, Cyclegan and more')
|
| 160 |
st.write('Below are some models(one from each category)')
|
| 161 |
|
| 162 |
-
options = {'Cyclegan':1, 'DCGAN':2,'
|
| 163 |
selected_option = st.selectbox('Select an option', options)
|
| 164 |
|
| 165 |
if selected_option == 'Unet':
|
|
@@ -182,7 +182,7 @@ elif selected == 'Projects':
|
|
| 182 |
if img_selected_option == 'img2':
|
| 183 |
st.image(model_out(imgs[1],'Portfolio Projects/FloodAreaSegmentationUnetPix2Pix.h5'),use_column_width=False)
|
| 184 |
|
| 185 |
-
elif selected_option == 'Machine Learning Text
|
| 186 |
|
| 187 |
st.header('Spam Detection using Naive Bayes Classifier')
|
| 188 |
vectorizer = load('Portfolio Projects/tfidf_vectorizer.joblib')
|
|
@@ -244,4 +244,5 @@ elif selected == 'Projects':
|
|
| 244 |
st.link_button('\n \t \t \t HuggingFace Account \t \t \r \n','https://huggingface.co/Beasto')
|
| 245 |
else:
|
| 246 |
st.header('Contact me')
|
| 247 |
-
|
|
|
|
|
|
| 159 |
st.write('I have made more than 50 projects in fields including CNN, GAN, Machine Learning, Yolo object detection and segmentation, Pix2pix, Cyclegan and more')
|
| 160 |
st.write('Below are some models(one from each category)')
|
| 161 |
|
| 162 |
+
options = {'Cyclegan':1, 'DCGAN':2,'Unet':3,'Machine Learning Text classifier':4}
|
| 163 |
selected_option = st.selectbox('Select an option', options)
|
| 164 |
|
| 165 |
if selected_option == 'Unet':
|
|
|
|
| 182 |
if img_selected_option == 'img2':
|
| 183 |
st.image(model_out(imgs[1],'Portfolio Projects/FloodAreaSegmentationUnetPix2Pix.h5'),use_column_width=False)
|
| 184 |
|
| 185 |
+
elif selected_option == 'Machine Learning Text classifier':
|
| 186 |
|
| 187 |
st.header('Spam Detection using Naive Bayes Classifier')
|
| 188 |
vectorizer = load('Portfolio Projects/tfidf_vectorizer.joblib')
|
|
|
|
| 244 |
st.link_button('\n \t \t \t HuggingFace Account \t \t \r \n','https://huggingface.co/Beasto')
|
| 245 |
else:
|
| 246 |
st.header('Contact me')
|
| 247 |
+
st.write('You Can Contact me only in instagram')
|
| 248 |
+
st.link_button('\n \t \t \t Instagram Account \t \t \r \n','https://www.instagram.com/i_suck_at_coding.256/')
|