CoolFace
Apppublic

rimshaaa2025f/AI-JobInterview

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes
app.cpython-313.pyc200 linesDownload Raw Back to __pycache__
1�

2���h����SrSSKrSSKrSSKJr SSKJrJr SSK	J3r4 \"5 \R"SSSS	S59 \R"SSS
9 Sr
\S:Xa\
"5 gg)zn6AI-Powered Job Interview Coach - Main App7Multi-page Streamlit application for AI-powered interview coaching8�N)�load_dotenv)�check_auth_status�init_session_state)�show_auth_pagezAI Interview Coachu🤖�wide�	collapsed)�9page_title�	page_icon�layout�initial_sidebar_statea�10<style>11    /* Hide Streamlit default UI elements */12    #MainMenu {visibility: hidden;}13    footer {visibility: hidden;}14    header {visibility: hidden;}15    16    /* Main container styling */17    .main .block-container {18        padding-top: 2rem;19        padding-bottom: 2rem;20        max-width: 1200px;21    }22    23    /* Header styling */24    .main-header {25        font-size: 2.5rem;26        font-weight: 700;27        color: #2c3e50;28        text-align: center;29        margin-bottom: 2rem;30        letter-spacing: -0.5px;31    }32    33    .header-container {34        display: flex;35        align-items: center;36        justify-content: center;37        padding: 1rem 2rem;38        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);39        border-radius: 16px;40        margin-bottom: 2rem;41        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);42    }43    44    .logo-section {45        display: flex;46        align-items: center;47        gap: 1rem;48    }49    50    .logo-icon {51        font-size: 3rem;52        display: flex;53        align-items: center;54        justify-content: center;55        width: 4rem;56        height: 4rem;57        background: rgba(255, 255, 255, 0.2);58        border-radius: 50%;59        backdrop-filter: blur(10px);60    }61    62    .logo-text {63        font-size: 2rem;64        font-weight: 700;65        color: white;66        margin: 0;67        letter-spacing: -0.5px;68        text-shadow: 0 2px 4px rgba(0,0,0,0.1);69    }70    71    .subtitle {72        color: rgba(255, 255, 255, 0.9);73        margin: 0;74        font-size: 1rem;75        font-weight: 400;76    }77    78    .welcome-card {79        background: #ffffff;80        padding: 2rem;81        border-radius: 16px;82        box-shadow: 0 4px 20px rgba(0,0,0,0.08);83        margin-bottom: 2rem;84        border: 1px solid #e9ecef;85        text-align: center;86    }87    88    .feature-grid {89        display: grid;90        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));91        gap: 1.5rem;92        margin: 2rem 0;93    }94    95    .feature-card {96        background: #f8f9fa;97        padding: 1.5rem;98        border-radius: 12px;99        border: 1px solid #e9ecef;100        text-align: center;101        transition: transform 0.2s ease;102    }103    104    .feature-card:hover {105        transform: translateY(-2px);106        box-shadow: 0 4px 12px rgba(0,0,0,0.1);107    }108    109    .feature-icon {110        font-size: 2.5rem;111        margin-bottom: 1rem;112    }113    114    .feature-title {115        font-size: 1.25rem;116        font-weight: 600;117        color: #2c3e50;118        margin-bottom: 0.5rem;119    }120    121    .feature-desc {122        color: #6c757d;123        font-size: 0.9rem;124        line-height: 1.5;125    }126    127    .footer {128        text-align: center;129        padding: 2rem;130        margin-top: 3rem;131        background: #f8f9fa;132        border-radius: 12px;133        border: 1px solid #e9ecef;134    }135    136    .footer h4 {137        color: #2c3e50;138        margin-bottom: 0.5rem;139    }140    141    .footer p {142        color: #6c757d;143        margin: 0;144    }145</style>146T��unsafe_allow_htmlc�P�[5 [5nU(d[5 g[R"SSS9 [R"SSS9 [R"SSS9 [R"S5 [R147"S5 [R"S	SS9 g)148z(Main application function - Welcome pageNuG149    <div class="header-container">150        <div class="logo-section">151            <div class="logo-icon">🤖</div>152            <div>153                <h1 class="logo-text">AI Interview Coach</h1>154                <p class="subtitle">Powered by Advanced NLP & LLM Technology</p>155            </div>156        </div>157    </div>158    Tr
ul159    <div class="welcome-card">160        <h2 style="color: #2c3e50; margin-bottom: 1rem;">Welcome to Your AI Interview Coach! 🎯</h2>161        <p style="color: #6c757d; font-size: 1.1rem; margin-bottom: 0;">162            Practice your interview skills with AI-powered question generation, real-time feedback, and comprehensive analysis.163        </p>164    </div>165    u#166    <div class="feature-grid">167        <div class="feature-card">168            <div class="feature-icon">🎭</div>169            <div class="feature-title">Interview Simulation</div>170            <div class="feature-desc">171                Practice with dynamically generated questions tailored to your role and difficulty level. 172                Get real-time feedback on your responses.173            </div>174        </div>175        <div class="feature-card">176            <div class="feature-icon">📊</div>177            <div class="feature-title">NLP Analysis</div>178            <div class="feature-desc">179                Deep analysis of your responses including sentiment, keywords, readability, 180                and comprehensive text processing insights.181            </div>182        </div>183    </div>184    u### 🚀 Getting StarteduJ185    **Use the sidebar navigation to access different features:**186    187    - **🎭 Interview Simulation**: Generate questions and get AI-powered feedback188    - **📊 NLP Analysis**: Analyze text with advanced natural language processing189    190    Each page offers unique tools to help you improve your interview performance!191    u�192    <div class="footer">193        <h4>🤖 AI-Powered Job Interview Coach</h4>194        <p>Built with ❤️ using Streamlit, Transformers, and LangChain</p>195        <p>Step 2: Dynamic Question Generation & Answer Evaluation</p>196    </div>197    )rrr�st�markdown�info)�is_authenticateds �XC:\Users\rimsha\OneDrive\Desktop\AI-Course\Project-AI-Powered Job Interview Coach\app.py�mainr�s�����)�*�������K�K�198� �199!��K�K�� �!��K�K��& �'!�,�K�K�*�+��G�G�
�	��K�K�� �
!��__main__)�__doc__�	streamlitr�os�dotenvr�ai_modules.authrr�ai_modules.auth_uir�set_page_configrr�__name__�rr�<module>r!sv���200�	��A�-��
����#���%�	����I
�R�SI�VJ!�Z�z���F�r