Zaious commited on
Commit
c72752f
·
verified ·
1 Parent(s): 448468e

Update ideaGen_Followup.py

Browse files
Files changed (1) hide show
  1. ideaGen_Followup.py +3 -2
ideaGen_Followup.py CHANGED
@@ -1,9 +1,10 @@
1
  import openai
 
 
2
  from openai import OpenAI
3
  client = OpenAI(
4
- api_key= gptkey
5
  )
6
-
7
  def ideagen(content_type,context):
8
  total_prompt_tokens_used = 0
9
  total_completion_tokens_used = 0
 
1
  import openai
2
+ import os
3
+
4
  from openai import OpenAI
5
  client = OpenAI(
6
+ api_key= os.environ["gptkey"]
7
  )
 
8
  def ideagen(content_type,context):
9
  total_prompt_tokens_used = 0
10
  total_completion_tokens_used = 0