Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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"
|
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()
|