Skip to content

Commit 1f64dc7

Browse files
committed
Resume download check for example app
1 parent 34e8985 commit 1f64dc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/WhisperAX/WhisperAX/Views/ContentView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ struct ContentView: View {
720720
var folder: URL?
721721

722722
// Check if the model is available locally
723-
if localModels.contains(model) {
723+
if localModels.contains(model) && !redownload {
724724
// Get local model folder URL from localModels
725725
// TODO: Make this configurable in the UI
726726
folder = URL(fileURLWithPath: localModelPath).appendingPathComponent("openai_whisper-\(model)")

0 commit comments

Comments
 (0)