stephenmccartney1234 commited on
Commit
1c2a142
·
verified ·
1 Parent(s): a9d652e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
4
  import os
5
 
6
  # Set your OpenAI API key here
7
- os.environ["OPENAI_API_KEY"] = 'Your Secret API Key'
8
 
9
  def construct_index(directory_path):
10
  max_input_size = 4096
 
4
  import os
5
 
6
  # Set your OpenAI API key here
7
+ os.environ["OPENAI_API_KEY"] = os.getenv("OPENAI_API_KEY")
8
 
9
  def construct_index(directory_path):
10
  max_input_size = 4096