Skip to content

Commit

Permalink
fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jitingcn committed Oct 1, 2020
1 parent 49724c9 commit 3489be8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,14 @@ jobs:
run: |
set -v
youtube-dl --no-progress -f 134+140 FhPI5lbyz-I -o video.mp4
ffmpeg -hide_banner -loglevel quiet -nostats -ss 00:02:20 -i video.mp4 -to 00:02:00 -c copy test.mp4 && rm video.mp4
ffmpeg -hide_banner -loglevel quiet -nostats -ss 00:02:20 -i video.mp4 -to 00:02:00 test.mp4 && rm video.mp4
-
name: test autosub
timeout-minutes: 10
run: |
autosub -i test.mp4 -S en-us -D zh-cn -of all
autosub -i test.mp4 -S en-us -D zh-cn -der -of all
cat 'test.en-us&zh-cn.srt'
-
uses: actions/upload-artifact@v2
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
requests>=2.3.0
pysubs2>=0.2.4
progressbar2>=3.34.3
auditok==0.1.5
auditok>=0.1.5
googletrans>=2.4.0
wcwidth>=0.1.7
google-cloud-speech>=1.3.1
google-cloud-speech>=1.3.1,<2.0.0
websocket-client>=0.56.0
fuzzywuzzy>=0.18.0
python-Levenshtein>=0.12.0
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
'requests>=2.3.0',
'pysubs2>=0.2.4',
'progressbar2>=3.34.3',
'auditok==0.1.5',
'auditok>=0.1.5',
'googletrans>=2.4.0',
'wcwidth>=0.1.7',
'fuzzywuzzy>=0.18.0',
'google-cloud-speech>=1.3.1',
'google-cloud-speech>=1.3.1,<2.0.0',
'websocket-client>=0.56.0',
'python-docx>=0.8.10',
'send2trash>=1.5.0'
Expand Down

0 comments on commit 3489be8

Please sign in to comment.