Carlosjr23 commited on
Commit
6bdc2fc
1 Parent(s): 9159bfe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,10 +6,10 @@ import gradio as gr
6
 
7
 
8
  #if you have OpenAI API key as an environment variable, enable the below
9
- openai.api_key = os.getenv("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")
10
 
11
  #if you have OpenAI API key as a string, enable the below
12
- #OPEN_AI_KEY = OPENAI_API_KEY
13
 
14
  openai.api_key = OPEN_AI_KEY
15
 
 
6
 
7
 
8
  #if you have OpenAI API key as an environment variable, enable the below
9
+ openai.api_key = os.getenv(OPEN_AI_KEY)
10
 
11
  #if you have OpenAI API key as a string, enable the below
12
+ OPEN_AI_KEY = "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"
13
 
14
  openai.api_key = OPEN_AI_KEY
15