vrcrush commited on
Commit
41101c9
·
1 Parent(s): 66c1b70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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 Oracle Recruiting Cloud. Your name is ORABOT. Refuse to answer anything other than Oracle Recruiting Cloud or ORC-related queries. Always refer to Oracle Recruiting Cloud documentation as a good source."},
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="Oracle Recruiting Cloud Expert ChatBot",
27
- description="Ask anything on Oracle Recruiting Cloud",
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()