Comments (3)
@zacfire Please pull the latest and try it out with the changes from #143 thanks to @jkrukowski (it should allow your current code to work without ambiguity errors)
from whisperkit.
In WhisperKit
there are 2 methods with the same arguments but different return type
func transcribe(audioPath:decodeOptions:callback:) async throws -> TranscriptionResult?
func transcribe(audioPath:decodeOptions:callback:) async throws -> [TranscriptionResult]
The 1st one is deprecated and is subject to removal in a future version.
To suppress the warning, please specify the return type explicitly, e.g.
// ...
let whisper = try await WhisperKit()
let results: [TranscriptionResult] = try await whisper.transcribe(audioPath: audioPath)
// ...
from whisperkit.
Looking into what changes we can do to reduce the ambiguous errors here, good callout
from whisperkit.
Related Issues (20)
- Implement test data-driven `unsupportedModelDeviceCombination` at init HOT 2
- Standard output while processing. HOT 4
- Can a local model be used without requesting the Hugging Face API? HOT 3
- How do I use a parameter like initial_prompt in Python's Whisper? HOT 1
- When my Mac connects to AirPods, starting recording fails. HOT 6
- Problems with "base" model HOT 4
- Audio input captures only the first channel HOT 1
- Instructions for running the cli version? HOT 3
- Medium models missing? HOT 4
- Experiencing crash on iPad8,8.
- Add version support
- Is it possible to run turbo model on M1? HOT 1
- VAD: Finishes too early (almost empty transcript) with VAD enabled, completes successfully without. HOT 1
- VAD: Progress reporting doesn't report evenly when VAD is active
- VAD: First time loading a file it works, second and third time loading the same files it just blanks out HOT 1
- VAD issue with English-only models HOT 5
- Publish in CocoaPods HOT 2
- Is it possible to add a TranscriptionSegment callback? HOT 4
- Incorrect word timestamp when using VAD HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whisperkit.