Spaces:
Sleeping
Sleeping
Update app.py
Browse files143 unmodified lines1441451461471481491506 unmodified lines15715815916016116216326 unmodified lines19019119219319419519619719819957 unmodified lines257258259254260261262263264143 unmodified lines return "You have good posture! Keep it up!" if predicted.item() == 0 else "I suggest sitting straighter or getting more into frame. It will help for your future interviews."# Full UIwith gr.Blocks(css="""
body { background-color: #161b24; font-family: 'Nato', sans-serif !important; } h1 { text-align: center; color: #2c3e50; } img { display: block; margin: auto; width: 100px; border-radius: 20px; }6 unmodified lines color: #fafdff; transition: all 0.2s ease;}
button:hover { background-color: #49888f; border-color: #7cf8ff;26 unmodified lines .custom-tabs button[role="tab"]:hover { background-color: #ecece8 !important; } :root { --trim-region-color: rgba(255, 153, 0, 0.5); /* Nice orange for example */}
""") as demo:57 unmodified lines with gr.Row(): with gr.Column(elem_classes=["custom-tabs"]): with gr.Tabs(): with gr.Tab("💬 Text Mode"):
with gr.Tab('<img src="https://cdn-uploads.huggingface.co/production/uploads/6841b10b397a67a7c7a39b89/pVS-KWvRlW96VKa34EZeZ.png" style="width:24px;height:24px;"> Text Mode'): chatbot_text = gr.Chatbot(label="Interview Chat (Text Mode)", type="messages") msg = gr.Textbox(label="Type 'start' to begin") send_btn = gr.Button("Send")app.py+8-1