Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -86,6 +86,7 @@ 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 = os.getenv('region')
|
|
|
89 |
|
90 |
# Creates an instance of a speech config with specified subscription key and service region.
|
91 |
speech_config = speechsdk.SpeechConfig(subscription=subscription_key, region=region, speech_recognition_language=dict[language_code])
|
|
|
86 |
# Replace with your own subscription key and region identifier from Azure portal
|
87 |
subscription_key = os.getenv('subscription_key')
|
88 |
region = os.getenv('region')
|
89 |
+
print(subscription_key,region)
|
90 |
|
91 |
# Creates an instance of a speech config with specified subscription key and service region.
|
92 |
speech_config = speechsdk.SpeechConfig(subscription=subscription_key, region=region, speech_recognition_language=dict[language_code])
|