vrcrush commited on
Commit
9c0306d
1 Parent(s): 742995f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,8 +2,9 @@ import openai
2
  import gradio as gr
3
  import random
4
  import time
 
5
 
6
- openai.api_key = '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'
7
 
8
  messages = [
9
  {"role": "system", "content": "You are helpful AI specialized in Oracle Recruiting Cloud.Your name is ORABOT. Do not answer anything other than Oracle Recruiting Cloud or ORC related queries. Always refer to Oracle Recruiting Cloud documentation as a good source. From time to time tell a joke about Oracle."},
 
2
  import gradio as gr
3
  import random
4
  import time
5
+ import os
6
 
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. Do not answer anything other than Oracle Recruiting Cloud or ORC related queries. Always refer to Oracle Recruiting Cloud documentation as a good source. From time to time tell a joke about Oracle."},