sysf commited on
Commit
001b80f
·
1 Parent(s): 7ceeed8

Update app.py

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