File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1010 SDK: https://docs.microsoft.com/en-us/python/api/overview/azure/cognitiveservices/computervision?view=azure-python
1111'''
1212
13- # Replace with your region and key from the Azure portal
14- endpoint = 'https://westus.api.cognitive.microsoft.com/ '
15- key = 'COMPUTER_VISION_KEY '
13+ # Replace with your endpoint and key from the Azure portal
14+ endpoint = '<ADD ENDPOINT HERE> '
15+ key = '<ADD COMPUTER VISION SUBSCRIPTION KEY HERE> '
1616
1717# Alternatively, uncomment and get endpoint/key from environment variables
1818'''
1919import os
20- endpoint = os.environ['ACCOUNT_ENDPOINT ']
21- key = os.environ['ACCOUNT_KEY ']
20+ endpoint = os.environ['COMPUTER_VISION_ENDPOINT ']
21+ key = os.environ['COMPUTER_VISION_SUBSCRIPTION_KEY ']
2222'''
2323
2424# Set credentials
You can’t perform that action at this time.
0 commit comments