subline 0.1.2__py3-none-any.whl → 0.1.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: subline
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Generate SRT/VTT subtitles from video files using faster-whisper
5
5
  License-Expression: MIT
6
6
  Project-URL: Homepage, https://github.com/fenelon/subline
@@ -0,0 +1,7 @@
1
+ subline.py,sha256=Z0CldIWOUkbebXdA7GjLqHPpKigDzWnwu1KTC8xyoKQ,9030
2
+ subline-0.1.3.dist-info/licenses/LICENSE,sha256=3tOQgiQVZz4Yoy-oLTaAWZn1YCf09_7m24a6VvBowUs,1064
3
+ subline-0.1.3.dist-info/METADATA,sha256=OPTBveRPIHANb46Jgjbbv9m-p6ojOWbg1P_dhOk7Cqw,4555
4
+ subline-0.1.3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
5
+ subline-0.1.3.dist-info/entry_points.txt,sha256=96wAtiL46Rx2cPy0gE07aT3S7KGDqT7x2FS_spr-8P4,41
6
+ subline-0.1.3.dist-info/top_level.txt,sha256=RbFd_FJ86k9j2R7NOH3f04bVe5UdghD-VntriXuAl50,8
7
+ subline-0.1.3.dist-info/RECORD,,
subline.py CHANGED
@@ -38,7 +38,7 @@ def detect_device():
38
38
 
39
39
  if "cuda" in ctranslate2.get_supported_compute_types("cuda"):
40
40
  return "cuda"
41
- except (ImportError, RuntimeError):
41
+ except (ImportError, RuntimeError, ValueError):
42
42
  pass
43
43
  return "cpu"
44
44
 
@@ -1,7 +0,0 @@
1
- subline.py,sha256=prg02MRJmD457iSounAPM_5rxDWmwpCheJ8f4014ik0,9018
2
- subline-0.1.2.dist-info/licenses/LICENSE,sha256=3tOQgiQVZz4Yoy-oLTaAWZn1YCf09_7m24a6VvBowUs,1064
3
- subline-0.1.2.dist-info/METADATA,sha256=wPlDNrxbap-tHK9onuI_Uqo4v3SI6ygPUBPLvQgEQuo,4555
4
- subline-0.1.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
5
- subline-0.1.2.dist-info/entry_points.txt,sha256=96wAtiL46Rx2cPy0gE07aT3S7KGDqT7x2FS_spr-8P4,41
6
- subline-0.1.2.dist-info/top_level.txt,sha256=RbFd_FJ86k9j2R7NOH3f04bVe5UdghD-VntriXuAl50,8
7
- subline-0.1.2.dist-info/RECORD,,