wenli
7bca7a2b8e
Update whisper_online.py
2024-05-15 23:49:24 +08:00
Dominik Macháček
264b8a32c2
forgot f in the last debug print
2024-05-02 10:32:53 +02:00
Dominik Macháček
b50f68749b
checks and changes in logging
...
- don't set the level for submodules, it's too verbose
- etc.
2024-04-18 18:10:25 +02:00
Alex Young
7286dfdfa1
Add a debug log line when no text is detected
2024-04-17 22:40:18 +01:00
Alex Young
8060d45aea
Default log level to DEBUG, faster-whisper to match
2024-04-17 22:21:41 +01:00
Alex Young
df64b4e2c3
Remove requirements.txt files
2024-04-17 22:03:59 +01:00
Alex Young
97a4ebdf15
Construct an explicit logger rather than using the root logger
2024-04-17 21:58:24 +01:00
Alex Young
2ba48bcbf4
Merge branch 'main' into ayo-logging-fixes
2024-04-17 20:47:55 +01:00
Dominik Macháček
dcddb17de8
UEDIN ack in line_packet.py
2024-04-17 15:25:19 +02:00
Dominik Macháček
f32eeef4dd
Merge branch 'tijszwinkels-online-from-factory'
...
PR #71
2024-04-17 15:22:11 +02:00
Dominik Macháček
bb93952fd2
Merge branch 'main' into online-from-factory
2024-04-17 15:07:00 +02:00
Dominik Macháček
ce215e621b
Merge pull request #82 from ufal/regularfry-ayo-warmup-file
...
warmup file -- PR #81
2024-04-17 14:54:48 +02:00
Dominik Macháček
e0f5d42b13
better documentation, help message and logging prints
2024-04-17 14:51:49 +02:00
Alex Young
2afc97db48
Set the log level inside faster-whisper again (lost in merge)
2024-04-14 20:16:28 +01:00
Alex Young
a7cb7a5469
Merge branch 'main' into ayo-logging-fixes
2024-04-14 20:09:56 +01:00
Alex Young
8883397b44
Merge branch 'main' into ayo-warmup-file
2024-04-14 20:03:50 +01:00
Alex Young
626dedf2f5
Remove 'INFO:' from a few log strings
2024-04-14 19:45:44 +01:00
Alex Young
fc4b3cd518
Check whether we are passed a warmup file before trying to see if it exists
2024-04-14 19:38:41 +01:00
Alex Young
23a018d341
Add some logging around warmup
2024-04-14 19:33:54 +01:00
Alex Young
70bc57180c
Add a --warmup-file option to pass in a path
2024-04-14 19:29:46 +01:00
Alex Young
cc56fdd931
Add requirements.txt and a cuda_requirements.txt that's up to date
2024-04-14 19:17:53 +01:00
Alex Young
380c30d48d
Further tidying of print output, so by default there's little on the console
2024-04-14 19:14:56 +01:00
Alex Young
5ebbed3bd7
Turn prints into logging.debug calls in whisper_online_server.py
2024-04-14 14:24:59 +01:00
Dominik Macháček
d497503b5c
COntributions at README.md
...
+ nicer formatting
+ #77
2024-04-10 18:13:07 +02:00
Dominik Macháček
6b1c2c5606
Merge pull request #75 from gaardhus/patch-1
...
Update README.md: Add Python syntax highlighting to code chunk
2024-04-09 14:22:55 +02:00
Tobias Gårdhus
8223afee78
Update README.md
...
Add Python syntax highlighting to code chunk
2024-03-29 19:35:30 +01:00
Dominik Macháček
b3647da087
Update README.md PDF link
2024-03-29 09:19:59 +01:00
Dominik Macháček
3af93975cc
Merge pull request #70 from tijszwinkels/fix-imports
...
Fix imports
2024-03-21 00:11:52 +01:00
Tijs Zwinkels
bccbb15177
Move creation of OnlineASRProcessor inside the factory method
...
Preventing more code duplication between whisper_online.py and whisper_online_server.py
2024-03-20 16:29:01 +01:00
Tijs Zwinkels
006de3e7b0
Fix imports
...
Now, the ASR implementations do their own imports. No need to import in the factory
2024-03-20 16:02:24 +01:00
Dominik Macháček
50937bb872
Merge pull request #69 from tijszwinkels/fix-server-openai-crash
...
Fix crash when using openai-api with whisper_online_server
2024-03-20 15:39:38 +01:00
Tijs Zwinkels
8896389ea3
Fix crash when using openai-api with whisper_online_server
...
+ refactored creation of the ASR into a factory method
2024-03-20 15:29:10 +01:00
Dominik Macháček
5929a82896
Update README.md
...
bibtex update
2024-03-11 12:38:44 +01:00
koiking213
4405c451ce
specify dtype for librosa.load, instead of cast
2024-02-20 23:29:25 +09:00
koiking213
24926c98e0
specify audio dtype
2024-02-20 22:46:04 +09:00
Dominik Macháček
db8b7d2883
removed unused variable
2024-02-20 14:37:18 +01:00
Aleksei Scripnic
80eb0baf5d
Removed duplicate variable self.last_chunked_at
...
I tried to find the difference between self.last_chunked_at and self.buffer_time_offset, and it took me a while to understand that they are exactly the same. I think it's better to get rid of one of the duplicates to make the code more readable.
2024-02-20 14:37:18 +01:00
Dominik Macháček
949304ab05
Merge branch 'opeanai-api2' into opeanai-api
2024-02-19 13:51:26 +01:00
Tijs Zwinkels
9fcd403439
Use automatic language detection by default (instead of English)
2024-02-15 22:24:43 +01:00
Tijs Zwinkels
922ad18ebc
Make OpenAI backend work with language autodetect
2024-02-14 17:29:45 +01:00
Tijs Zwinkels
f0a24cd5e1
Make --vad work with --backend openai-api
2024-02-14 17:01:29 +01:00
Tijs Zwinkels
3696fef2b1
Use OpenAI api word-level timestamps
2024-02-14 17:01:29 +01:00
Tijs Zwinkels
531418ad07
Interpolate word timestamps based on word character length
2024-02-14 17:01:29 +01:00
Dominik Macháček
2270014219
fixes
2024-02-14 17:01:29 +01:00
Dominik Macháček
f8b2ae07b8
missing features in openai-api, PR #52
2024-02-14 17:01:29 +01:00
Tijs Zwinkels
6ec1f65fe2
Update documentation to include openai-api backend
2024-02-14 17:01:29 +01:00
Tijs Zwinkels
f412812082
OpenAI Whisper API backend
2024-02-14 17:01:29 +01:00
Dominik Macháček
b66c61cf7a
README update auto language detection
2024-02-06 14:31:24 +01:00
Dominik Macháček
cd221a3198
auto language detection #56
2024-02-06 14:29:30 +01:00
Dominik Macháček
d65fd8a649
fixes
2024-01-25 17:53:07 +01:00