danelkay commited on
Commit
e60fe55
·
1 Parent(s): da5b603

✨ feat(deps): add FasterWhisper and PyAnnotate deps with Python 3.10 support

Browse files

The message indicates:
1. ✨ (sparkles) for new feature/enhancement
2. Scope is dependencies (deps)
3. Description summarizes the main changes: adding FasterWhisper dependencies and setting Python version to 3.10

Files changed (5) hide show
  1. .python-version +1 -0
  2. README.md +25 -0
  3. pyproject.toml +19 -1
  4. requirements.txt +7 -1
  5. uv.lock +0 -0
.python-version ADDED
@@ -0,0 +1 @@
 
 
1
+ 3.10
README.md CHANGED
@@ -1,4 +1,5 @@
1
  ---
 
2
  title: What? Shaddup!
3
  emoji: 🚀
4
  colorFrom: indigo
@@ -6,10 +7,34 @@ colorTo: blue
6
  sdk: gradio
7
  sdk_version: 5.14.0
8
  app_file: app.py
 
 
 
 
 
 
 
 
 
 
9
  pinned: true
10
  license: apache-2.0
 
 
 
 
 
 
 
11
  thumbnail: >-
12
  https://cdn-uploads.huggingface.co/production/uploads/675456a8aa4b4ac8b87e7ca2/gTvgofcqCmR-2JrsDDnOs.png
 
 
 
 
 
 
 
13
  ---
14
 
15
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+
3
  title: What? Shaddup!
4
  emoji: 🚀
5
  colorFrom: indigo
 
7
  sdk: gradio
8
  sdk_version: 5.14.0
9
  app_file: app.py
10
+ models:
11
+ - ivrit-ai/faster-whisper-v2-d4
12
+ - dicta-il/dictalm2.0-GGUF
13
+ tags:
14
+ - audio
15
+ - transcription
16
+ - whisper
17
+ - whatsapp
18
+ - speech-to-text
19
+ - translation
20
  pinned: true
21
  license: apache-2.0
22
+ python_version: "3.10"
23
+ suggested_hardware: "cpu-upgrade" # Optimized for CPU-only spaces
24
+ suggested_storage: "medium"
25
+ app_file: "app.py"
26
+ fullWidth: true
27
+ header: "mini"
28
+ short_description: "Automatically transcribe & translate WhatsApp voice messages with WebGPU support!"
29
  thumbnail: >-
30
  https://cdn-uploads.huggingface.co/production/uploads/675456a8aa4b4ac8b87e7ca2/gTvgofcqCmR-2JrsDDnOs.png
31
+ preload_from_hub:
32
+ - ivrit-ai/faster-whisper-v2-d4
33
+ - dicta-il/dictalm2.0-GGUF
34
+ custom_headers:
35
+ cross-origin-embedder-policy: require-corp
36
+ cross-origin-opener-policy: same-origin
37
+ cross-origin-resource-policy: cross-origin
38
  ---
39
 
40
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
pyproject.toml CHANGED
@@ -2,10 +2,11 @@
2
  name = "whatshutup"
3
  version = "0.1.0"
4
  description = "Add your description here"
5
- requires-python = ">=3.12"
6
  dependencies = [
7
  "faster-whisper>=1.1.1",
8
  "ffmpeg>=1.4",
 
9
  "gradio>=5.14.0",
10
  "huggingface-hub>=0.28.1",
11
  "pydub>=0.25.1",
@@ -104,3 +105,20 @@ app = [
104
  "uvicorn==0.34.0 ; sys_platform != 'emscripten'",
105
  "websockets==14.2",
106
  ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  name = "whatshutup"
3
  version = "0.1.0"
4
  description = "Add your description here"
5
+ requires-python = ">=3.10,<3.11"
6
  dependencies = [
7
  "faster-whisper>=1.1.1",
8
  "ffmpeg>=1.4",
9
+ "ffmpeg-python>=0.2.0",
10
  "gradio>=5.14.0",
11
  "huggingface-hub>=0.28.1",
12
  "pydub>=0.25.1",
 
105
  "uvicorn==0.34.0 ; sys_platform != 'emscripten'",
106
  "websockets==14.2",
107
  ]
108
+ fasterwhisper = [
109
+ "ctranslate2>=4.5.0",
110
+ "faster-whisper>=1.1.1",
111
+ "ffmpeg-python>=0.2.0",
112
+ "gradio>=5.14.0",
113
+ "intervaltree>=3.1.0",
114
+ "json5>=0.10.0",
115
+ "more-itertools>=10.6.0",
116
+ "pyannote-audio",
117
+ "srt>=3.5.3",
118
+ "torch>=2.6.0",
119
+ "torchaudio>=2.6.0",
120
+ "yt-dlp>=2025.1.26",
121
+ ]
122
+
123
+ [tool.uv.sources]
124
+ pyannote-audio = { url = "https://github.com/pyannote/pyannote-audio/archive/refs/heads/develop.zip" }
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
  # This file was autogenerated by uv via the following command:
2
- # uv export --output-file .\requirements.txt
3
  aiofiles==23.2.1 \
4
  --hash=sha256:19297512c647d4b27a2cf7c34caa7e405c0d60b5560618a29a9fe027b18b0107 \
5
  --hash=sha256:84ec2218d8419404abcb9f0c02df3f34c6e0a68ed41072acfb1cef5cbc29051a
@@ -111,6 +111,9 @@ faster-whisper==1.1.1 \
111
  --hash=sha256:5808dc334fb64fb4336921450abccfe5e313a859b31ba61def0ac7f639383d90
112
  ffmpeg==1.4 \
113
  --hash=sha256:6931692c890ff21d39938433c2189747815dca0c60ddc7f9bb97f199dba0b5b9
 
 
 
114
  ffmpy==0.5.0 \
115
  --hash=sha256:277e131f246d18e9dcfee9bb514c50749031c43582ce5ef82c57b51e3d3955c3 \
116
  --hash=sha256:df3799cf5816daa56d4959a023630ee53c6768b66009dae6d131519ba4b80233
@@ -123,6 +126,9 @@ flatbuffers==25.1.24 \
123
  fsspec==2024.12.0 \
124
  --hash=sha256:670700c977ed2fb51e0d9f9253177ed20cbde4a3e5c0283cc5385b5870c8533f \
125
  --hash=sha256:b520aed47ad9804237ff878b504267a3b0b441e97508bd6d2d8774e3db85cee2
 
 
 
126
  gradio==5.14.0 \
127
  --hash=sha256:7f8a7fd61f37c0c0a5eb9494439f35123ccefa9106eebe0fb4e2d0e4c9a87a55
128
  gradio-client==1.7.0 \
 
1
  # This file was autogenerated by uv via the following command:
2
+ # uv export --output-file=requirements.txt
3
  aiofiles==23.2.1 \
4
  --hash=sha256:19297512c647d4b27a2cf7c34caa7e405c0d60b5560618a29a9fe027b18b0107 \
5
  --hash=sha256:84ec2218d8419404abcb9f0c02df3f34c6e0a68ed41072acfb1cef5cbc29051a
 
111
  --hash=sha256:5808dc334fb64fb4336921450abccfe5e313a859b31ba61def0ac7f639383d90
112
  ffmpeg==1.4 \
113
  --hash=sha256:6931692c890ff21d39938433c2189747815dca0c60ddc7f9bb97f199dba0b5b9
114
+ ffmpeg-python==0.2.0 \
115
+ --hash=sha256:65225db34627c578ef0e11c8b1eb528bb35e024752f6f10b78c011f6f64c4127 \
116
+ --hash=sha256:ac441a0404e053f8b6a1113a77c0f452f1cfc62f6344a769475ffdc0f56c23c5
117
  ffmpy==0.5.0 \
118
  --hash=sha256:277e131f246d18e9dcfee9bb514c50749031c43582ce5ef82c57b51e3d3955c3 \
119
  --hash=sha256:df3799cf5816daa56d4959a023630ee53c6768b66009dae6d131519ba4b80233
 
126
  fsspec==2024.12.0 \
127
  --hash=sha256:670700c977ed2fb51e0d9f9253177ed20cbde4a3e5c0283cc5385b5870c8533f \
128
  --hash=sha256:b520aed47ad9804237ff878b504267a3b0b441e97508bd6d2d8774e3db85cee2
129
+ future==1.0.0 \
130
+ --hash=sha256:929292d34f5872e70396626ef385ec22355a1fae8ad29e1a734c3e43f9fbc216 \
131
+ --hash=sha256:bd2968309307861edae1458a4f8a4f3598c03be43b97521076aebf5d94c07b05
132
  gradio==5.14.0 \
133
  --hash=sha256:7f8a7fd61f37c0c0a5eb9494439f35123ccefa9106eebe0fb4e2d0e4c9a87a55
134
  gradio-client==1.7.0 \
uv.lock CHANGED
The diff for this file is too large to render. See raw diff