Skip to content

Commit

Permalink
remove keys (keys recycled also)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris committed Nov 24, 2023
1 parent bff5889 commit 78d1f38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 09-building-image-applications/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
dotenv.load_dotenv()

# Get endpoint and key from environment variables
openai.api_base = "https://chris-openai-east.openai.azure.com/" # os.environ['AZURE_OPENAI_ENDPOINT']
openai.api_key = "1a9d52aaffe4443cb34b2c4fbf0c6775" # os.environ['AZURE_OPENAI_KEY']
openai.api_base = os.environ['AZURE_OPENAI_ENDPOINT']
openai.api_key = os.environ['AZURE_OPENAI_KEY']

# Assign the API version (DALL-E is currently supported for the 2023-06-01-preview API version only)
openai.api_version = '2023-06-01-preview'
Expand Down

0 comments on commit 78d1f38

Please sign in to comment.