Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ def process_image_with_openai(image):
|
|
102 |
"https://api.openai.com/v1/chat/completions",
|
103 |
headers={
|
104 |
"Content-Type": "application/json",
|
105 |
-
"Authorization": f"Bearer {openai_api_key}"
|
106 |
"OpenAI-Organization": "{oai_org}"
|
107 |
},
|
108 |
json=data_payload
|
|
|
102 |
"https://api.openai.com/v1/chat/completions",
|
103 |
headers={
|
104 |
"Content-Type": "application/json",
|
105 |
+
"Authorization": f"Bearer {openai_api_key}",
|
106 |
"OpenAI-Organization": "{oai_org}"
|
107 |
},
|
108 |
json=data_payload
|