Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update largestImageDimension documentation
Browse files Browse the repository at this point in the history
andrewheard committed Jan 11, 2024
1 parent d959a63 commit bbd889b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -20,7 +20,8 @@ import SwiftUI

@MainActor
class PhotoReasoningViewModel: ObservableObject {
// Maximum image dimensions (width and height) in pixels; reduces image size in bytes.
// Maximum value for the larger of the two image dimensions (height and width) in pixels. This is
// being used to reduce the image size in bytes.
private static let largestImageDimension = 768.0

private var logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "generative-ai")

0 comments on commit bbd889b

Please sign in to comment.