Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
|
| 3 |
+
def Projects():
|
| 4 |
+
project_links = {
|
| 5 |
+
"Agri Tech App": "https://huggingface.co/spaces/Raghavendra0827/Ai-Driven-AgriTech-App",
|
| 6 |
+
"SentimentAnalyzerX": "https://huggingface.co/spaces/Raghavendra0827/SentimentAnalyzerX",
|
| 7 |
+
"Smart Dictionary with Auto Correction": "https://huggingface.co/spaces/Raghavendra0827/Smart_Dictionary_with_Auto_Correction",
|
| 8 |
+
"Book Recommendation App": "https://huggingface.co/spaces/Raghavendra0827/Book_Recommendation_App",
|
| 9 |
+
"Netflix Movie Recommendation Engine": "https://huggingface.co/spaces/Raghavendra0827/Netflix_movie_recommendation_engine"
|
| 10 |
+
}
|
| 11 |
+
st.title("Projects")
|
| 12 |
+
project_images = {
|
| 13 |
+
"Agri Tech App": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTTL2ei_5SiPyNJvuiC3Y7ySRcqXbpC8cW5xA&usqp=CAU",
|
| 14 |
+
"SentimentAnalyzerX": "https://miro.medium.com/v2/resize:fit:689/0*xv_GA6M5AX3NQztr.jpg",
|
| 15 |
+
"Smart Dictionary with Auto Correction": "https://lh3.googleusercontent.com/EJNFBBlpH9QHEhjlga0Q5w3nbuZA0gUOBMW5O7tWRUx0k283PE0qCviAE63kWxexKuuhl3YBEruE9_QH5Sz6FiYFFZN-GAEGTUuP=h200-rw",
|
| 16 |
+
"Book Recommendation App": "https://media.npr.org/assets/img/2020/12/24/2020-concierge-covers_wide-63f004ae7c0066f0ef789eae7c423578aead350f-s1100-c50.jpg",
|
| 17 |
+
"Netflix Movie Recommendation Engine": "https://miro.medium.com/v2/resize:fit:1132/1*8y9sCjaxFmAzEiVEzw3YoQ.jpeg"
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
for project, image_url in project_images.items():
|
| 21 |
+
st.subheader(project)
|
| 22 |
+
st.image(image_url, caption=project, use_column_width=True)
|
| 23 |
+
st.markdown(f"[{project}]({project_links[project]})...")
|
| 24 |
+
st.markdown("---") # Separator between projects
|
| 25 |
+
|
| 26 |
+
def app_interface():
|
| 27 |
+
Projects()
|
| 28 |
+
|
| 29 |
+
if __name__ == "__main__":
|
| 30 |
+
app_interface()
|