Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ def respond(
|
|
| 58 |
temperature: float,
|
| 59 |
top_p: float,
|
| 60 |
):
|
| 61 |
-
system_message = "
|
| 62 |
messages = [{"role": "system", "content": system_message}]
|
| 63 |
|
| 64 |
for val in history:
|
|
@@ -89,7 +89,7 @@ def respond(
|
|
| 89 |
demo = gr.Blocks()
|
| 90 |
|
| 91 |
with demo:
|
| 92 |
-
gr.Markdown("🧘♀️ **
|
| 93 |
gr.Markdown(
|
| 94 |
"‼️Disclaimer: This chatbot is based on a DBT exercise book that is publicly available. "
|
| 95 |
"We are not medical practitioners, and the use of this chatbot is at your own responsibility.‼️"
|
|
@@ -98,16 +98,16 @@ with demo:
|
|
| 98 |
chatbot = gr.ChatInterface(
|
| 99 |
respond,
|
| 100 |
examples=[
|
| 101 |
-
["I
|
| 102 |
-
["
|
| 103 |
-
["How
|
| 104 |
-
["What
|
| 105 |
-
["
|
| 106 |
-
["I
|
| 107 |
-
["I
|
| 108 |
-
["I
|
| 109 |
],
|
| 110 |
-
title='
|
| 111 |
)
|
| 112 |
|
| 113 |
if __name__ == "__main__":
|
|
|
|
| 58 |
temperature: float,
|
| 59 |
top_p: float,
|
| 60 |
):
|
| 61 |
+
system_message = "I’m a Job Interview Prep Coach, specializing in personalized strategies to boost interview performance. I offer resume reviews, mock interviews, and expert advice to help you land your ideal job confidently."
|
| 62 |
messages = [{"role": "system", "content": system_message}]
|
| 63 |
|
| 64 |
for val in history:
|
|
|
|
| 89 |
demo = gr.Blocks()
|
| 90 |
|
| 91 |
with demo:
|
| 92 |
+
gr.Markdown("🧘♀️ **Job Interview Prep Coach**")
|
| 93 |
gr.Markdown(
|
| 94 |
"‼️Disclaimer: This chatbot is based on a DBT exercise book that is publicly available. "
|
| 95 |
"We are not medical practitioners, and the use of this chatbot is at your own responsibility.‼️"
|
|
|
|
| 98 |
chatbot = gr.ChatInterface(
|
| 99 |
respond,
|
| 100 |
examples=[
|
| 101 |
+
["How can I effectively prepare for a job interview?"],
|
| 102 |
+
["What are the most common interview questions, and how should I answer them?"],
|
| 103 |
+
["How can I improve my resume and cover letter to increase my chances of getting an interview?"],
|
| 104 |
+
["What should I do if I get a difficult or unexpected question during an interview?"],
|
| 105 |
+
["How can I demonstrate my skills and experiences effectively during the interview?"],
|
| 106 |
+
["How do I handle interview nerves and maintain confidence throughout the process"],
|
| 107 |
+
["What questions should I ask the interviewer to make a positive impression?"],
|
| 108 |
+
["How can I tailor my answers to align with the company’s values and culture?."]
|
| 109 |
],
|
| 110 |
+
title='Job Interview Prep Coach'
|
| 111 |
)
|
| 112 |
|
| 113 |
if __name__ == "__main__":
|