《Docker AutoSub 使用方法》的评论 https://www.dengnz.com/2018/09/01/docker-autosub-%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95/ 昨天,今天,明天,每天的每天,都多懂一点点... Tue, 10 Sep 2019 13:09:56 +0000 hourly 1 https://wordpress.org/?v=6.5.4 评论者:iou https://www.dengnz.com/2018/09/01/docker-autosub-%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95/#comment-1526 Tue, 10 Sep 2019 13:09:56 +0000 https://www.dengnz.com/?p=1132#comment-1526 峰哥 这是我运行的情况 不知道哪里出错了啊~

λ docker run –rm -v %cd%:/root fennng/autosub autosub -S en -D zh-CN -F srt -K AIzaSyDSdZdIl0ZblbNYs9Ja2Ic3ULOvcGn1JFA main.mp3
Converting speech regions to FLAC files: 100% |#################| Time: 0:00:18
Performing speech recognition: 100% |###########################| Time: 0:27:56
Traceback (most recent call last):
File “/usr/local/bin/autosub”, line 304, in
sys.exit(main())
File “/usr/local/bin/autosub”, line 261, in main
src=args.src_language)
File “/usr/local/bin/autosub”, line 95, in __init__
developerKey=self.api_key)
File “/usr/local/lib/python2.7/dist-packages/googleapiclient/_helpers.py”, line 130, in positional_wrapper
return wrapped(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/googleapiclient/discovery.py”, line 222, in build
requested_url, discovery_http, cache_discovery, cache)
File “/usr/local/lib/python2.7/dist-packages/googleapiclient/discovery.py”, line 269, in _retrieve_discovery_doc
resp, content = http.request(actual_url)
File “/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py”, line 1694, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File “/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py”, line 1434, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File “/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py”, line 1390, in _conn_request
response = conn.getresponse()
File “/usr/lib/python2.7/httplib.py”, line 1108, in getresponse
raise ResponseNotReady()
httplib.ResponseNotReady

]]>
评论者:fennng https://www.dengnz.com/2018/09/01/docker-autosub-%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95/#comment-1245 Tue, 19 Mar 2019 06:00:07 +0000 https://www.dengnz.com/?p=1132#comment-1245 回复给xin。

这个不是项目名称,这是我在docker hub 发布的autosub 的镜像文件, 看这里 https://hub.docker.com/r/fennng/autosub/

]]>
评论者:xin https://www.dengnz.com/2018/09/01/docker-autosub-%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95/#comment-1244 Tue, 19 Mar 2019 00:08:14 +0000 https://www.dengnz.com/?p=1132#comment-1244 请教峰哥 docker run –rm -v %cd%:/root fennng/autosub autosub -S zh-CN -D zh-CN -F srt -K 这里放 API_KEY 音频文件.mp3 中的fennng/autosub是项目名称吗?怎么没有替换?

]]>