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