Hello @Muyao Hu
I think there are two solutions you can have a try in Python SDK:
- There is a 'set_property' method on the config to allow you to set parameters to your request, which can change the default silence time:: https://learn.microsoft.com/en-us/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.propertycollection?view=azure-python#azure-cognitiveservices-speech-propertycollection-set-property
- This way you can set the EndSilenceTimeout (PropertyIDs in Pyhton: https://learn.microsoft.com/en-us/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.propertyid?view=azure-python#fields)
Please notice, the time is as "ms". Hope above helps!
Regards,
Yutong
-Please kindly accept the answer if you feel helpful, thanks!