Show GPU list in the UI only if the PC has more than 1 GPU

This commit is contained in:
cmdr2
2022-11-10 16:34:01 +05:30
parent 1fed3ad532
commit 3f26d03166
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
"use strict" // Opt in to a restricted variant of JavaScript
const HEALTH_PING_INTERVAL = 5 // seconds
const MAX_INIT_IMAGE_DIMENSION = 768
const MIN_GPUS_TO_SHOW_SELECTION = 1
const MIN_GPUS_TO_SHOW_SELECTION = 2
const IMAGE_REGEX = new RegExp('data:image/[A-Za-z]+;base64')