Spaces:
Runtime error
Runtime error
| import streamlit as st | |
| def Projects(): | |
| project_links = { | |
| "Agri Tech App": "https://huggingface.co/spaces/Raghavendra0827/Ai-Driven-AgriTech-App", | |
| "Market Basket Analysis": "https://huggingface.co/spaces/Raghavendra0827/Market_Basket_Analysis", | |
| "SentimentAnalyzerX": "https://huggingface.co/spaces/Raghavendra0827/SentimentAnalyzerX", | |
| "Smart Dictionary with Auto Correction": "https://huggingface.co/spaces/Raghavendra0827/Smart_Dictionary_with_Auto_Correction", | |
| "Book Recommendation App": "https://huggingface.co/spaces/Raghavendra0827/Book_Recommendation_App", | |
| "Netflix Movie Recommendation Engine": "https://huggingface.co/spaces/Raghavendra0827/Netflix_movie_recommendation_engine", | |
| "Pneumonia-Detection":"https://huggingface.co/spaces/Raghavendra0827/X-Ray_Segmentation_for_Medical_Diagnostics" | |
| } | |
| st.title("Projects") | |
| project_images = { | |
| "Agri Tech App": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTTL2ei_5SiPyNJvuiC3Y7ySRcqXbpC8cW5xA&usqp=CAU", | |
| "Market Basket Analysis": "https://www.pickl.ai/blog/wp-content/uploads/2023/06/Market-Basket-Analysis.jpg", | |
| "SentimentAnalyzerX": "https://miro.medium.com/v2/resize:fit:689/0*xv_GA6M5AX3NQztr.jpg", | |
| "Smart Dictionary with Auto Correction": "https://lh3.googleusercontent.com/EJNFBBlpH9QHEhjlga0Q5w3nbuZA0gUOBMW5O7tWRUx0k283PE0qCviAE63kWxexKuuhl3YBEruE9_QH5Sz6FiYFFZN-GAEGTUuP=h200-rw", | |
| "Book Recommendation App": "https://media.npr.org/assets/img/2020/12/24/2020-concierge-covers_wide-63f004ae7c0066f0ef789eae7c423578aead350f-s1100-c50.jpg", | |
| "Netflix Movie Recommendation Engine": "https://miro.medium.com/v2/resize:fit:1132/1*8y9sCjaxFmAzEiVEzw3YoQ.jpeg", | |
| "Pneumonia-Detection":"https://www.faulhaber.com/fileadmin/_processed_/8/e/csm_faulhaber-medical-header_635e8c752d.jpg" | |
| } | |
| for project, image_url in project_images.items(): | |
| st.subheader(project) | |
| st.image(image_url, caption=project, use_column_width=True) | |
| st.markdown(f"<a href='{project_links[project]}' target='_blank' style='text-decoration: none;'><button style='background-color: #4CAF50; color: white; padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer;'>{project}</button></a>", unsafe_allow_html=True) | |
| st.markdown("---") # Separator between projects | |
| def app_interface(): | |
| Projects() | |
| if __name__ == "__main__": | |
| app_interface() |