Add on_prem_endpoint as an advanced option for sync and async pyht clients
Customers will now set AdvancedOptions.on_prem_endpoint="customer-name.on-prem.play.ht:11045" instead of setting grpc_addr="customer-name.on-prem.play.ht:11045" and insecure=True.
Add a fallback option (default is on) so that TTS requests to an on-prem appliance that is over capacity or down can fallback to the shared PlayHT endpoint.
Add on_prem_endpoint as an advanced option for sync and async pyht clients
Customers will now set AdvancedOptions.on_prem_endpoint="customer-name.on-prem.play.ht:11045" instead of setting grpc_addr="customer-name.on-prem.play.ht:11045" and insecure=True.
Add a fallback option (default is on) so that TTS requests to an on-prem appliance that is over capacity or down can fallback to the shared PlayHT endpoint.
So, client configuration goes from:
..to:
Customers that don't want the fallback option can do the following: