ImranzamanML commited on
Commit
9a30e38
·
verified ·
1 Parent(s): f23e630

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -18
app.py CHANGED
@@ -37,21 +37,17 @@ image_urls = {
37
  "github": "URL_TO_YOUR_GITHUB_IMAGE"
38
  }
39
 
40
- # Create columns for each social profile link
41
- kaggle, linkedin, google_scholar, youtube, github = st.columns(5)
42
-
43
- # For each column, display an image and a markdown link to a social profile
44
- kaggle.image(image_urls["kaggle"], width=100)
45
- kaggle.markdown("[Kaggle](https://www.kaggle.com/muhammadimran112233)")
46
-
47
- linkedin.image(image_urls["linkedin"], width=100)
48
- linkedin.markdown("[LinkedIn](https://www.linkedin.com/in/muhammad-imran-zaman)")
49
-
50
- google_scholar.image(image_urls["google_scholar"], width=100)
51
- google_scholar.markdown("[Google Scholar](https://scholar.google.com/citations?user=ulVFpy8AAAAJ&hl=en)")
52
-
53
- youtube.image(image_urls["youtube"], width=100)
54
- youtube.markdown("[YouTube](https://www.youtube.com/@consolioo)")
55
-
56
- github.image(image_urls["github"], width=100)
57
- github.markdown("[GitHub](https://github.com/Imran-ml)")
 
37
  "github": "URL_TO_YOUR_GITHUB_IMAGE"
38
  }
39
 
40
+ social_links = {
41
+ "kaggle": "https://www.kaggle.com/muhammadimran112233",
42
+ "linkedin": "https://www.linkedin.com/in/muhammad-imran-zaman",
43
+ "google_scholar": "https://scholar.google.com/citations?user=ulVFpy8AAAAJ&hl=en",
44
+ "youtube": "https://www.youtube.com/@consolioo",
45
+ "github": "https://github.com/Imran-ml"
46
+ }
47
+
48
+ kaggle.markdown(f'<a href="{social_links["kaggle"]}"><img src="{image_urls["kaggle"]}" width="100"></a>', unsafe_allow_html=True)
49
+ linkedin.markdown(f'<a href="{social_links["linkedin"]}"><img src="{image_urls["linkedin"]}" width="100"></a>', unsafe_allow_html=True)
50
+ google_scholar.markdown(f'<a href="{social_links["google_scholar"]}"><img src="{image_urls["google_scholar"]}" width="100"></a>', unsafe_allow_html=True)
51
+ youtube.markdown(f'<a href="{social_links["youtube"]}"><img src="{image_urls["youtube"]}" width="100"></a>', unsafe_allow_html=True)
52
+ github.markdown(f'<a href="{social_links["github"]}"><img src="{image_urls["github"]}" width="100"></a>', unsafe_allow_html=True)
53
+