sysf commited on
Commit
c20f648
·
1 Parent(s): 80063f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ dict = {
84
 
85
  def text_to_speech(text, language_code):
86
  # Replace with your own subscription key and region identifier from Azure portal
87
- subscription_key = os.environ['subscription_key']
88
  region = "eastus"
89
 
90
  # Creates an instance of a speech config with specified subscription key and service region.
 
84
 
85
  def text_to_speech(text, language_code):
86
  # Replace with your own subscription key and region identifier from Azure portal
87
+ subscription_key = os.getenv('subscription_key')
88
  region = "eastus"
89
 
90
  # Creates an instance of a speech config with specified subscription key and service region.