cloud-sean commited on
Commit
050a938
·
verified ·
1 Parent(s): cbc93d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def analyze_healthcare_text(text):
31
  base_url = "https://ta4h-endpoint.cognitiveservices.azure.com/language/analyze-text/jobs"
32
  headers = {
33
  "Content-Type": "application/json",
34
- "Ocp-Apim-Subscription-Key": os.environ["TA4H-API-KEY"]
35
  }
36
 
37
  # Data to be sent in the initial POST request
 
31
  base_url = "https://ta4h-endpoint.cognitiveservices.azure.com/language/analyze-text/jobs"
32
  headers = {
33
  "Content-Type": "application/json",
34
+ "Ocp-Apim-Subscription-Key": os.environ["TA4HAPIKEY"]
35
  }
36
 
37
  # Data to be sent in the initial POST request