Skip to content

Commit 2e5db2a

Browse files
committed
Refactor chat UI and token generation logic
1 parent afba506 commit 2e5db2a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mobile/examples/phi-3/ios/LocalLLM/LocalLLM/ContentView.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// Copyright (c) Microsoft Corporation. All rights reserved.
2-
// Licensed under the MIT License.
3-
41
import SwiftUI
52

63

mobile/examples/phi-3/ios/LocalLLM/LocalLLM/GenAIGenerator.mm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ @interface GenAIGenerator () {
1818

1919
@implementation GenAIGenerator
2020

21+
typedef std::chrono::high_resolution_clock Clock;
22+
typedef std::chrono::time_point<Clock> TimePoint;
23+
2124
typedef std::chrono::steady_clock Clock;
2225
typedef std::chrono::time_point<Clock> TimePoint;
2326

0 commit comments

Comments
 (0)