Spaces:
Sleeping
Sleeping
Update app.py
Browse files12345 unmodified lines101112131415import gradio as grfrom azure.ai.textanalytics import TextAnalyticsClientfrom azure.core.credentials import AzureKeyCredential5 unmodified lines#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))123455 unmodified lines1112131415161718import gradio as grimport osfrom azure.ai.textanalytics import TextAnalyticsClientfrom azure.core.credentials import AzureKeyCredential5 unmodified lines#azure_api_key = "3CU1gpUszvl7pLb90Ivdp1Kd5WZc56savzdXOK5GV40JHebnxnxoJQQJ99BAACYeBjFXJ3w3AAAaACOGkRT5"azure_api_key = os.getenv("AZURE_API_KEY")print(f"Azure API token: {azure_api_key}")# call to the Azure TextAnalyticsClient APItext_analytics_client = TextAnalyticsClient(endpoint=azure_endpoint, credential=AzureKeyCredential(azure_api_key))
app.py+3