diff --git a/Sources/Samples/FalCameraSampleApp/FalCameraSampleApp/ImageStreamingModel.swift b/Sources/Samples/FalCameraSampleApp/FalCameraSampleApp/ImageStreamingModel.swift index 4d15b14..e5d20d1 100644 --- a/Sources/Samples/FalCameraSampleApp/FalCameraSampleApp/ImageStreamingModel.swift +++ b/Sources/Samples/FalCameraSampleApp/FalCameraSampleApp/ImageStreamingModel.swift @@ -31,7 +31,7 @@ class ImageStreamingModel: ObservableObject, ImageStreamingDelegate { init(imageStreaming: ImageStreaming = ImageStreaming()) { // simplified error handling for demo purposes connection = try? fal.realtime.connect( - to: TurboApp, + to: "fal-ai/fast-turbo-diffusion/image-to-image", connectionKey: "swift-realtime-camera-demo", throttleInterval: .never ) { result in diff --git a/Sources/Samples/FalSampleApp/FalSampleApp/ContentView.swift b/Sources/Samples/FalSampleApp/FalSampleApp/ContentView.swift index 28642c0..4c2ad12 100644 --- a/Sources/Samples/FalSampleApp/FalSampleApp/ContentView.swift +++ b/Sources/Samples/FalSampleApp/FalSampleApp/ContentView.swift @@ -18,10 +18,12 @@ struct ContentView: View { isLoading = true do { let result = try await fal.subscribe( - to: "fal-ai/fast-sdxl", + to: "fal-ai/fast-lightning-sdxl", input: [ "prompt": .string(PROMPT), ], + pollInterval: .milliseconds(500), + timeout: .seconds(5), includeLogs: true ) { update in update.logs