addcorpbc commited on
Commit ·
ae4399d
1
Parent(s): 89723d4
Update .gitignore and manage untracked files
Browse filesFiles changed (3)
- .gitignoreAdded+6
- greeting.pyDeleted-37
- requirements.txt+2-1
123456myenv/*.pyc__pycache__/Fine Tune.pytest_pipeline.pyfrom transformers import pipeline.py12345678910111213141516171819202122232425262728293031323334353637import gradio as gr
# Greeting messagegreeting = """Hi, I'm your Magic City Career Counselor! Big Magic made me to help you plan for your future. He cares about his employees and wants to make sure you have a future after Magic City. To do that, we've consulted dozens of experts to help you decide on the direction you may want to take in the future. They provided us with several tools to analyze what might best fit your personality and goals.
We offer five different assessments you can take, or we can simply chat about your plans. The assessments include: 1. The Myers-Briggs Type Indicator 2. The Indecisiveness Scale 3. RIASEC 4. The Career Thought Inventory 5. The Career Values Card Sort
If you'd like to know more about what these assessments cover, just ask! Then, we can decide on which one(s) to take to better understand what might suit you."""
# Chatbot functiondef chatbot(user_input): if "myers briggs" in user_input.lower(): return "The Myers-Briggs Type Indicator analyzes your personality traits to suggest career paths." elif "ria" in user_input.lower(): return "RIASEC identifies your interests and matches them to suitable careers." else: return "Let’s get started! What would you like to do today?"
# Chatbot UIchatbot_ui = gr.Interface( fn=chatbot, inputs="text", outputs="text", title="Magic City Career Counselor", description=greeting)
# Launch the chatbotchatbot_ui.launch()1 unmodified line23451 unmodified lineacceleratebitsandbytesgradio1 unmodified line234561 unmodified lineacceleratebitsandbytesgradiodatasetstorch
.gitignoreAdded+6
greeting.pyDeleted-37
requirements.txt+2-1