Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import os
|
|
7 |
openai.api_key = os.environ["API_KEY"]
|
8 |
|
9 |
messages = [
|
10 |
-
{"role": "system", "content": "You are helpful AI specialized in
|
11 |
]
|
12 |
|
13 |
def chatbot(input):
|
@@ -23,6 +23,6 @@ def chatbot(input):
|
|
23 |
inputs = gr.inputs.Textbox(lines=7, label="Chat with ORABOT")
|
24 |
outputs = gr.outputs.Textbox(label="Reply")
|
25 |
|
26 |
-
gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title="
|
27 |
-
description="
|
28 |
theme="panel",).launch()
|
|
|
7 |
openai.api_key = os.environ["API_KEY"]
|
8 |
|
9 |
messages = [
|
10 |
+
{"role": "system", "content": "You are helpful AI specialized in providing Job Interview Questions. Your name is ORABOT. Refuse to answer anything other than providing job interview questions queries."},
|
11 |
]
|
12 |
|
13 |
def chatbot(input):
|
|
|
23 |
inputs = gr.inputs.Textbox(lines=7, label="Chat with ORABOT")
|
24 |
outputs = gr.outputs.Textbox(label="Reply")
|
25 |
|
26 |
+
gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title="Job Interview Questions Generation",
|
27 |
+
description="Paste Job Description and I will provide job interview questions",
|
28 |
theme="panel",).launch()
|