Skip to content

Commit

Permalink
Typo fix for error logs in ChatState.swift (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
jim19930609 authored Jun 25, 2023
1 parent 713d0f6 commit 183c221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/MLCChat/ChatState.swift
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class ChatState : ObservableObject {
let vram = os_proc_available_memory()
if (vram < estimatedVRAMReq) {
let reqMem = String (
format: "%.1fGB", Double(estimatedVRAMReq) / Double(1 << 20)
format: "%.1fMB", Double(estimatedVRAMReq) / Double(1 << 20)
)
let errMsg = (
"Sorry, the system cannot provide " + reqMem + " VRAM as requested to the app, " +
Expand Down

0 comments on commit 183c221

Please sign in to comment.