JUNGU commited on
Commit
e981ebd
1 Parent(s): 7ebf674

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import base64
6
  import io
7
 
8
  # Ensure you have your OpenAI API key set as an environment variable
9
- openai.api_key = os.getenv("OPENAI_API_KEY", apikey)
10
 
11
  def image_to_base64(image):
12
  buffered = io.BytesIO()
 
6
  import io
7
 
8
  # Ensure you have your OpenAI API key set as an environment variable
9
+ openai.api_key = os.getenv("OPENAI_API_KEY")
10
 
11
  def image_to_base64(image):
12
  buffered = io.BytesIO()