musaashaikh commited on
Commit
a70efe3
·
verified ·
1 Parent(s): 2dae3b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -9,10 +9,9 @@ load_dotenv()
9
 
10
  # Azure Text Analytics setup
11
  # this is the end point for the Azure service I created
12
- azure_endpoint = "https://t6langservice.cognitiveservices.azure.com/"
13
 
14
  # this is the KEY for the Azure API Service I created. I did not use any class or data structure to store this key
15
- #azure_api_key = "3CU1gpUszvl7pLb90Ivdp1Kd5WZc56savzdXOK5GV40JHebnxnxoJQQJ99BAACYeBjFXJ3w3AAAaACOGkRT5"
16
  azure_api_key = os.getenv("AZURE_API_KEY")
17
 
18
  print(f"Azure API token: {azure_api_key}")
 
9
 
10
  # Azure Text Analytics setup
11
  # this is the end point for the Azure service I created
12
+ azure_endpoint = os.getenv("AZURE_API_ENDPOINT")
13
 
14
  # this is the KEY for the Azure API Service I created. I did not use any class or data structure to store this key
 
15
  azure_api_key = os.getenv("AZURE_API_KEY")
16
 
17
  print(f"Azure API token: {azure_api_key}")