Spaces:
Runtime error
Runtime error
Update app.py
Browse files37 unmodified lines38394041424336 unmodified lines80818283848586878837 unmodified linesdef set_type(choice):user_profile["interview_type"] = choice.lower()return "Great! Whatβs your background and what field/role are you aiming for?"# Phase 2: Save backgrounddef save_background(info):36 unmodified linesbtn2 = gr.Button("Technical")btn3 = gr.Button("College / Scholarship")btn1.click(set_type, inputs=[], outputs=type_out, _js="() => 'Behavioral'")btn2.click(set_type, inputs=[], outputs=type_out, _js="() => 'Technical'")btn3.click(set_type, inputs=[], outputs=type_out, _js="() => 'College'")gr.Markdown("## Step 2: Enter Background")background = gr.Textbox(label="Your background + field/goal")37 unmodified lines383940414243444546474849505136 unmodified lines8889909192939495969737 unmodified linesdef set_type(choice):user_profile["interview_type"] = choice.lower()return "Great! Whatβs your background and what field/role are you aiming for?"def set_type_behavioral():return set_type("Behavioral")def set_type_technical():return set_type("Technical")def set_type_college():return set_type("College")# Phase 2: Save backgrounddef save_background(info):36 unmodified linesbtn2 = gr.Button("Technical")btn3 = gr.Button("College / Scholarship")btn1.click(set_type_behavioral, outputs=type_out)btn2.click(set_type_technical, outputs=type_out)btn3.click(set_type_college, outputs=type_out)gr.Markdown("## Step 2: Enter Background")background = gr.Textbox(label="Your background + field/goal")
app.py+12-3