transcribe.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:backend 作者: lecrec 项目源码 文件源码
def get_speech_service():
    credentials = GoogleCredentials.from_stream('api/googleapi_auth/LecRec-a4f4c7931558.json').create_scoped(
        ['https://www.googleapis.com/auth/cloud-platform'])
    http = httplib2.Http()
    credentials.authorize(http)

    return discovery.build('speech', 'v1beta1', http=http)
# [END authenticating]
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号