From 370e65dc3e542c99a6e72546883a937b443322ea Mon Sep 17 00:00:00 2001 From: Albert Ho Date: Tue, 23 Apr 2024 12:07:59 -0700 Subject: [PATCH] update --- binding/ios/Falcon.swift | 4 ++-- binding/ios/README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/binding/ios/Falcon.swift b/binding/ios/Falcon.swift index b676494..f9d550a 100644 --- a/binding/ios/Falcon.swift +++ b/binding/ios/Falcon.swift @@ -89,13 +89,13 @@ public class Falcon { modelPathArg = try self.getResourcePath(modelPathArg!) } + pv_set_sdk(Falcon.sdk) + let status = pv_falcon_init( accessKey, modelPathArg, &handle) - pv_set_sdk(Falcon.sdk) - if status != PV_STATUS_SUCCESS { let messageStack = try getMessageStack() throw pvStatusToFalconError(status, "Falcon init failed", messageStack) diff --git a/binding/ios/README.md b/binding/ios/README.md index 4d8242b..d05c7f5 100644 --- a/binding/ios/README.md +++ b/binding/ios/README.md @@ -13,7 +13,7 @@ Falcon is an on-device speaker diarization engine. Falcon is: - Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64) - Android and iOS - Chrome, Safari, Firefox, and Edge - - Raspberry Pi (3, 4) and NVIDIA Jetson Nano + - Raspberry Pi (3, 4, 5) and NVIDIA Jetson Nano ## Installation