Spaces:
Sleeping
Sleeping
Update app.py
Browse files6 unmodified lines789101112136 unmodified linesazure_endpoint = "https://t6langservice.cognitiveservices.azure.com/"# this is the KEY for the Azure API Service I created. I did not use any class or data structure to store this keyazure_api_key = "3CU1gpUszvl7pLb90Ivdp1Kd5WZc56savzdXOK5GV40JHebnxnxoJQQJ99BAACYeBjFXJ3w3AAAaACOGkRT5"# call to the Azure TextAnalyticsClient APItext_analytics_client = TextAnalyticsClient(endpoint=azure_endpoint, credential=AzureKeyCredential(azure_api_key))6 unmodified lines78910111213146 unmodified linesazure_endpoint = "https://t6langservice.cognitiveservices.azure.com/"# this is the KEY for the Azure API Service I created. I did not use any class or data structure to store this key#azure_api_key = "3CU1gpUszvl7pLb90Ivdp1Kd5WZc56savzdXOK5GV40JHebnxnxoJQQJ99BAACYeBjFXJ3w3AAAaACOGkRT5"azure_api_key = os.getenv("AZURE_API_KEY")# call to the Azure TextAnalyticsClient APItext_analytics_client = TextAnalyticsClient(endpoint=azure_endpoint, credential=AzureKeyCredential(azure_api_key))
app.py+2-1