mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-10 23:09:24 +02:00
multiuser fixes
This commit is contained in:
@@ -1951,6 +1951,8 @@ Enter Prompt:<br>
|
||||
|
||||
reqblocking = False
|
||||
muint = int(args.multiuser)
|
||||
if muint<=0 and ((args.whispermodel and args.whispermodel!="") or (args.sdmodel and args.sdmodel!="")):
|
||||
muint = 2 # this prevents errors when using voice/img together with text
|
||||
multiuserlimit = ((muint-1) if muint > 1 else 6)
|
||||
#backwards compatibility for up to 7 concurrent requests, use default limit of 7 if multiuser set to 1
|
||||
if muint > 0 and requestsinqueue < multiuserlimit:
|
||||
|
||||
Reference in New Issue
Block a user