Nitish Raghav commited on
Commit
8850463
1 Parent(s): e4c3071

Update gptcall.py

Browse files
Files changed (1) hide show
  1. gptcall.py +2 -2
gptcall.py CHANGED
@@ -12,10 +12,10 @@ API_KEY = config.get('API', 'OPEN_AI_KEY')
12
  API_URL = config.get('API', 'OPEN_AI_URL')
13
  # print(API_URL,API_KEY)
14
  # Set the OpenAI API key
15
- openai.api_key = "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"
16
 
17
  def generate(prompt):
18
- print(API_URL,API_KEY)
19
 
20
  try:
21
  response = openai.ChatCompletion.create(
 
12
  API_URL = config.get('API', 'OPEN_AI_URL')
13
  # print(API_URL,API_KEY)
14
  # Set the OpenAI API key
15
+ openai.api_key = API_KEY
16
 
17
  def generate(prompt):
18
+ # print(API_URL,API_KEY)
19
 
20
  try:
21
  response = openai.ChatCompletion.create(