musaashaikh commited on
Commit
563acf2
·
verified ·
1 Parent(s): cd4b046

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from azure.core.credentials import AzureKeyCredential
4
 
5
  # Azure Text Analytics setup
6
  azure_endpoint = "https://t6langservice.cognitiveservices.azure.com/"
7
- azure_api_key = "your-azure-api-key" # Replace with your actual API key
8
  text_analytics_client = TextAnalyticsClient(endpoint=azure_endpoint, credential=AzureKeyCredential(azure_api_key))
9
 
10
  def classify_text_azure(text):
 
4
 
5
  # Azure Text Analytics setup
6
  azure_endpoint = "https://t6langservice.cognitiveservices.azure.com/"
7
+ azure_api_key = "3CU1gpUszvl7pLb90Ivdp1Kd5WZc56savzdXOK5GV40JHebnxnxoJQQJ99BAACYeBjFXJ3w3AAAaACOGkRT5" # Replace with your actual API key
8
  text_analytics_client = TextAnalyticsClient(endpoint=azure_endpoint, credential=AzureKeyCredential(azure_api_key))
9
 
10
  def classify_text_azure(text):