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

Update app.py

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