Skip to content

Commit b6532fa

Browse files
committed
Fix typos
1 parent a6f552b commit b6532fa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Libraries/MLXVLM/Models/Paligemma.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ private enum Vision {
441441
/// PaliGemma VLM `UserInputProcessor`.
442442
///
443443
/// This is meant to be used with ``PaliGemma`` and is typically created by ``VLMModelFactory``.
444-
public class PaligGemmaProcessor: UserInputProcessor {
444+
public class PaliGemmaProcessor: UserInputProcessor {
445445

446446
private let config: PaliGemmaProcessorConfiguration
447447
private let tokenizer: any Tokenizer
@@ -705,7 +705,7 @@ public struct PaliGemmaConfiguration: Codable, Sendable {
705705
}
706706
}
707707

708-
/// Configuration for ``PaligGemmaProcessor``
708+
/// Configuration for ``PaliGemmaProcessor``
709709
public struct PaliGemmaProcessorConfiguration: Codable, Sendable {
710710

711711
public struct Size: Codable, Sendable {

Libraries/MLXVLM/VLMModelFactory.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public class ProcessorTypeRegistry: @unchecked Sendable {
9898
private var creators:
9999
[String: @Sendable (URL, any Tokenizer) throws -> any UserInputProcessor] = [
100100
"PaliGemmaProcessor": create(
101-
PaliGemmaProcessorConfiguration.self, PaligGemmaProcessor.init),
101+
PaliGemmaProcessorConfiguration.self, PaliGemmaProcessor.init),
102102
"Qwen2VLProcessor": create(
103103
Qwen2VLProcessorConfiguration.self, Qwen2VLProcessor.init),
104104
"Idefics3Processor": create(

0 commit comments

Comments
 (0)