Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
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.
|