Spaces:
Sleeping
Sleeping
fix: now retrieves org key and proj key from env
Browse files
app.py
CHANGED
|
@@ -7,8 +7,8 @@ import json
|
|
| 7 |
|
| 8 |
client = OpenAI(
|
| 9 |
api_key=os.getenv('OPENAI_KEY'),
|
| 10 |
-
organization='
|
| 11 |
-
project='
|
| 12 |
)
|
| 13 |
|
| 14 |
#need to give info on how to convert to CSV
|
|
|
|
| 7 |
|
| 8 |
client = OpenAI(
|
| 9 |
api_key=os.getenv('OPENAI_KEY'),
|
| 10 |
+
organization=os.getenv('ORG_KEY'),
|
| 11 |
+
project=os.getenv('PROJ_KEY')
|
| 12 |
)
|
| 13 |
|
| 14 |
#need to give info on how to convert to CSV
|