Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

Welcome.py 3.3 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
  1. import streamlit as st
  2. import os
  3. from src.components.navigation import *
  4. def main():
  5. page_config()
  6. custom_style()
  7. display_sidebar()
  8. st.markdown("""
  9. <style>
  10. .block-container {
  11. padding-top: 0rem;
  12. padding-bottom: 0rem;
  13. }
  14. </style>
  15. """, unsafe_allow_html=True)
  16. st.markdown("<h1 style='margin-top: -0.5rem; padding-top: 0rem;'>AI Travel Advisor - Paris Olympics & Beyond</h1>", unsafe_allow_html=True)
  17. # st.image("page_utils/logo.gif", use_column_width=None)
  18. # Header
  19. st.header("Plan Your Visit to Paris")
  20. st.markdown("<div style='text-align: center; font-size: 24px;'>Welcome to the Paris AI Travel Advisor! Plan your trip to Paris with ease and More.</div>", unsafe_allow_html=True)
  21. st.divider()
  22. # Categories with pictures and centered text
  23. col1, col2, col3 = st.columns(3)
  24. # Category 1: Travel planner
  25. with col1:
  26. st.markdown('<div class="column">', unsafe_allow_html=True)
  27. st.subheader("Plan your trip to Paris",divider="red")
  28. st.image("static/trip_planner.jpg", use_column_width=True)
  29. st.markdown("<div style='text-align: center;'>Get the AI curated travel itinerary to Paris.</div>", unsafe_allow_html=True)
  30. # Category 2: Travel planner
  31. with col2:
  32. st.markdown('<div class="column">', unsafe_allow_html=True)
  33. st.subheader("Explore Paris-Hidden gems and more",divider="red")
  34. st.image("static/explore_paris.jpeg", use_column_width=True)
  35. st.markdown("<div style='text-align: center;'>Explore the best attractions and activities in Paris during your stay.</div>", unsafe_allow_html=True)
  36. # Category 3: Transportation
  37. with col3:
  38. st.markdown('<div class="column">', unsafe_allow_html=True)
  39. st.subheader("Transportation Advisor",divider="red")
  40. st.image("static/navigate_paris.jpg", use_column_width=True)
  41. st.markdown("<div style='text-align: center;'>Learn about the best ways to get around Paris along with real-time traffic disruptions.</div>", unsafe_allow_html=True)
  42. col4, col5, col6 = st.columns(3)
  43. # Category 4: Paris Syndrome Psychiatry Advisor
  44. with col4:
  45. st.markdown('<div class="column">', unsafe_allow_html=True)
  46. st.subheader("Paris Syndrome Psychiatry Advisor",divider="red")
  47. st.image("static/safety.jpeg", use_column_width=True)
  48. st.markdown("<div style='text-align: center;'>Get AI-assisted advice if you are suffering from Paris syndrome and learn about cultural awareness, safety, and more.</div>", unsafe_allow_html=True)
  49. # Category 5: Know the Places in Paris
  50. with col5:
  51. st.markdown('<div class="column">', unsafe_allow_html=True)
  52. st.subheader("Know the Places in Paris",divider="red")
  53. st.image("static/upload_image.jpg", use_column_width=True)
  54. st.markdown("<div style='text-align: center;'>Upload a picture of a place to know more about it.</div>", unsafe_allow_html=True)
  55. # Category 6: Learn Basic French
  56. with col6:
  57. st.markdown('<div class="column">', unsafe_allow_html=True)
  58. st.subheader("Learn Basic French with Omdena",divider="red")
  59. st.image("static/learn_french.jpeg", use_column_width=True)
  60. st.markdown("<div style='text-align: center;'>Learn Basic French.</div>", unsafe_allow_html=True)
  61. if __name__=="__main__":
  62. main()
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...