Spaces:
Sleeping
Sleeping
Update app.py
Browse files143 unmodified lines1441451461471481496 unmodified lines15615715815916016126 unmodified lines18818919019119219357 unmodified lines251252253254255256257143 unmodified linesreturn "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 linescolor: #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;}""") as demo:57 unmodified lineswith gr.Row():with gr.Column(elem_classes=["custom-tabs"]):with gr.Tabs():with gr.Tab("💬 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")143 unmodified lines1441451461471481491506 unmodified lines15715815916016116216326 unmodified lines19019119219319419519619719819957 unmodified lines257258259260261262263264143 unmodified linesreturn "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 linescolor: #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 lineswith gr.Row():with gr.Column(elem_classes=["custom-tabs"]):with gr.Tabs():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