mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
wyoming-faster-whisper: 0.0.3 -> 1.0.1
This commit is contained in:
parent
c55fc24524
commit
f3688c8e96
@ -1,5 +1,5 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 1c0b2d2..bbff1d1 100644
|
||||
index 04eedbc..ee0b495 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -35,4 +35,9 @@ setup(
|
||||
@ -13,17 +13,20 @@ index 1c0b2d2..bbff1d1 100644
|
||||
+ }
|
||||
)
|
||||
diff --git a/wyoming_faster_whisper/__main__.py b/wyoming_faster_whisper/__main__.py
|
||||
index 5557cc5..bb9d69f 100755
|
||||
index 8a5039f..bd1e7b6 100755
|
||||
--- a/wyoming_faster_whisper/__main__.py
|
||||
+++ b/wyoming_faster_whisper/__main__.py
|
||||
@@ -131,5 +131,9 @@ async def main() -> None:
|
||||
@@ -131,8 +131,12 @@ async def main() -> None:
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
-if __name__ == "__main__":
|
||||
+def run():
|
||||
asyncio.run(main())
|
||||
+ asyncio.run(main())
|
||||
+
|
||||
+
|
||||
+if __name__ == "__main__":
|
||||
+ run()
|
||||
if __name__ == "__main__":
|
||||
try:
|
||||
- asyncio.run(main())
|
||||
+ run()
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
|
@ -5,13 +5,13 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "wyoming-faster-whisper";
|
||||
version = "0.0.3";
|
||||
version = "1.0.1";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "wyoming_faster_whisper";
|
||||
inherit version;
|
||||
hash = "sha256-uqepa70lprzV3DJK2wrNAAyZkMMJ5S86RKK716zxYU4=";
|
||||
hash = "sha256-wo62m8gIP9hXihkd8j2haVvz3TlJv3m5WWthTPFwesk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
Loading…
Reference in New Issue
Block a user