jdbolter commited on
Commit
1243081
·
verified ·
1 Parent(s): 40a81cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import os
2
  import openai
3
  import gradio as gr
4
 
5
- # Retrieve and verify the OpenAI API key from the environment variable
6
  api_key = os.getenv('OPENAI_API_KEY')
7
  if not api_key:
8
  raise ValueError("OpenAI API key not found. Please set it in the environment variables.")
 
2
  import openai
3
  import gradio as gr
4
 
5
+ # Retrieve and verify the OpenAI API key from the environment variable.
6
  api_key = os.getenv('OPENAI_API_KEY')
7
  if not api_key:
8
  raise ValueError("OpenAI API key not found. Please set it in the environment variables.")