Skip to content

Commit

Permalink
update login calculate not enough ram for error message
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur committed Jan 23, 2024
1 parent 8ce454a commit 7d511cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/screens/Chat/ErrorMessage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const ErrorMessage = ({ message }: { message: ThreadMessage }) => {
{message.status === MessageStatus.Error && (
<div key={message.id} className="mt-10 flex flex-col items-center">
<span className="mb-3 text-center text-sm font-medium text-gray-500">
{Number(activeModel?.metadata.size) * 1.25 > totalRam ? (
{Number(activeModel?.metadata.size) > totalRam ? (
<>
Oops! Model size exceeds available RAM. Consider selecting a
smaller model or upgrading your RAM for smoother performance.
Expand Down

0 comments on commit 7d511cf

Please sign in to comment.