File size: 2,274 Bytes
756dbd7
 
 
e258e8f
 
756dbd7
e258e8f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
05a82ee
e258e8f
 
 
 
756dbd7
e258e8f
756dbd7
 
 
 
 
e258e8f
 
 
 
 
05a82ee
e258e8f
f9d3755
e258e8f
 
 
 
 
756dbd7
 
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
import streamlit as st
import sentiment_analysis
import text_summary


def main():
    st.set_page_config(page_title="AI ROBO HUB - Smart AI Tools", layout="wide")

    # Custom styling
    st.markdown(
        """
        <style>
            .sidebar .sidebar-content {
                background-color: #1f1f2e;
                color: white;
            }
            .stButton>button {
                width: 100%;
                border-radius: 10px;
                background-color: #0073e6;
                color: white;
                font-size: 16px;
            }
            .stButton>button:hover {
                background-color: #005bb5;
            }
            .block-container {
                padding-top: 2rem;
            }
        </style>
        """,
        unsafe_allow_html=True,
    )

    # Sidebar navigation
    st.sidebar.title("πŸš€ AI ROBO HUB - Smart AI Tools")
    st.sidebar.markdown("### Select Functionality")
    app_mode = st.sidebar.radio("", ["Sentiment Analysis", "Text Summary"], index=0)

    # Main Content Section
    st.markdown("<h1 style='text-align: center; color: #0073e6;'>Welcome to AI ROBO HUB </h1>", unsafe_allow_html=True)
    st.markdown("<h3 style='text-align: center; color: #444;'>We provide end-to-end AI Apps Development</h3>",
                unsafe_allow_html=True)

    st.markdown("---")

    # Load respective module
    if app_mode == "Sentiment Analysis":
        sentiment_analysis.run()
    elif app_mode == "Text Summary":
        text_summary.run()

        # Footer Section
    st.markdown("---")
    st.markdown(
        """
        <div style="text-align: center; padding: 10px; background-color: #1f1f2e; color: white; border-radius: 10px;">
            <h4>πŸš€ Looking for AI-Powered Custom Solutions?</h4>
            <p>We specialize in AI-driven automation, sentiment analysis, text summarization, and more.</p>
            <p>πŸ“© Contact us today at <a href="mailto:airobohub@gmail.com" style="color: #f8c471;">airobohub@gmail.com</a></p>
            <p>🌐 Visit our website: <a href="https://www.airobohub.com" target="_blank" style="color: #f8c471;">www.airobohub.com</a></p>
        </div>
        """,
        unsafe_allow_html=True
    )
if __name__ == "__main__":
    main()