ausbitbank / stable-diffusion-discord-bot Goto Github PK
View Code? Open in Web Editor NEWA discord bot to generate AI art from prompts using invokeAI
License: The Unlicense
A discord bot to generate AI art from prompts using invokeAI
License: The Unlicense
Thank you for the awesome bot, appreciated!
It would be fantastic to have an installation feature where the Discord bot could be easily deployed as a Docker container.
stable-diffusion-discord-bot | if (!args.model||args.model===undefined||!Object.keys(models).includes(args.model)){args.model=defaultModel}else{args.model=args.model}
Just a note that when testing the most recent dev branch of lstein, attachment templates broke. Swapping back to the main branch it works again.
I'll change the way it works when/if the breaking changes migrate to main
Connected to discord
Guilds: 1
TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at request (F:\invokeaidc\stable-diffusion-discord-bot\index.js:230:52)
at Object.execute (F:\invokeaidc\stable-diffusion-discord-bot\index.js:134:9)
at CommandClient.<anonymous> (F:\invokeaidc\stable-diffusion-discord-bot\index.js:1059:47)
at CommandClient.emit (node:events:513:28)
at Shard.emit (F:\invokeaidc\stable-diffusion-discord-bot\node_modules\eris\lib\gateway\Shard.js:231:27)
at Shard.wsEvent (F:\invokeaidc\stable-diffusion-discord-bot\node_modules\eris\lib\gateway\Shard.js:2162:22)
at Shard.onPacket (F:\invokeaidc\stable-diffusion-discord-bot\node_modules\eris\lib\gateway\Shard.js:391:26)
at Shard._onWSMessage (F:\invokeaidc\stable-diffusion-discord-bot\node_modules\eris\lib\gateway\Shard.js:2286:33)
at WebSocket.emit (node:events:513:28)
at Receiver.receiverOnMessage (F:\invokeaidc\stable-diffusion-discord-bot\node_modules\ws\lib\websocket.js:1180:20)
at Receiver.emit (node:events:513:28)
at Receiver.dataMessage (F:\invokeaidc\stable-diffusion-discord-bot\node_modules\ws\lib\receiver.js:526:14)
at Receiver.getData (F:\invokeaidc\stable-diffusion-discord-bot\node_modules\ws\lib\receiver.js:459:17)
at Receiver.startLoop (F:\invokeaidc\stable-diffusion-discord-bot\node_modules\ws\lib\receiver.js:158:22)
at Receiver._write (F:\invokeaidc\stable-diffusion-discord-bot\node_modules\ws\lib\receiver.js:84:10)
Any ideas?
I've followed the installing instructions and as I've started it and used /dream came up this error.
And also in the cases where it is stuck at 98% we can observe that the terminal shows it starting at step -1 for some reason.
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : -1 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 0 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 1 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 2 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 3 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 4 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 5 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 6 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 7 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 8 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 9 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 10 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 11 / 50
Updating status type 0 : in Guilds: 15, Jobs: 1/0, Hosts: 7
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 12 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 13 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 14 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 15 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 16 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 17 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 18 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 19 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 20 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 21 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 22 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 23 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 24 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 25 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 26 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 27 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 28 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 29 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 30 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 31 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 32 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 33 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 34 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 35 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 36 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 37 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 38 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 39 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 40 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 41 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 42 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 43 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 44 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 45 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 46 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 47 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 48 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e 1 : 49 / 50
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e finished denoise_latents
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e started string
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e finished string
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e started metadata_item
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e finished metadata_item
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e started metadata
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e finished metadata
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e started core_metadata
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e finished core_metadata
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e started collect
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e finished collect
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e started merge_metadata
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e finished merge_metadata
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e started l2i
Fifth loading sdxl/proteus-V2.5/vae
Fifth loaded: proteus-V2.5
Fifth f85e125f-537d-4c43-aedb-5cb830d5c61e finished l2i
Is there another way to keep informed of reconnects?
I didn't see any way to send a 'silent' message of any kind, unfortunately.
The bot for me is currently stuck on "[bot] is thinking...". Attached is an image of what I am getting approximately. InvokeAI is launched in command-line interface
mode.
I am running on a fresh install of InvokeAI and fresh install of this bot.
Discord bot docker terminal log reads as:
PS C:\Applications\AusBitBank> docker-compose up
[+] Building 0.0s (0/0)
[+] Running 2/0
✔ Container rembg Create... 0.0s
✔ Container stable-diffusion-discord-bot Created 0.0s
Attaching to rembg, stable-diffusion-discord-bot
stable-diffusion-discord-bot | read schedule db
stable-diffusion-discord-bot | loading nsfwjs
stable-diffusion-discord-bot | 2023-06-30 07:42:32.925836: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA
stable-diffusion-discord-bot | To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
stable-diffusion-discord-bot | Platform node has already been set. Overwriting the platform with node.
stable-diffusion-discord-bot | cpu backend was already registered. Reusing existing backend factory.
stable-diffusion-discord-bot | The kernel '_FusedMatMul' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Abs' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Acos' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Acosh' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Add' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'AddN' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'All' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Any' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'ArgMax' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'ArgMin' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Asin' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Asinh' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Atan' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Atan2' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Atanh' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'AvgPool' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'AvgPool3D' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'AvgPool3DGrad' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'AvgPoolGrad' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'BatchMatMul' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'FusedBatchNorm' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'BatchToSpaceND' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Bincount' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'BroadcastArgs' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Cast' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Ceil' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'ClipByValue' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Complex' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'ComplexAbs' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Concat' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Conv2D' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Conv2DBackpropFilter' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Conv2DBackpropInput' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Conv3D' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Conv3DBackpropFilterV2' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Conv3DBackpropInputV2' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Cos' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Cosh' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'CropAndResize' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Cumprod' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Cumsum' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'DenseBincount' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'DepthToSpace' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'DepthwiseConv2dNative' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'DepthwiseConv2dNativeBackpropFilter' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'DepthwiseConv2dNativeBackpropInput' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Diag' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Dilation2D' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Dilation2DBackpropFilter' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Dilation2DBackpropInput' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Einsum' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Elu' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'EluGrad' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Equal' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Erf' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Exp' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'ExpandDims' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Expm1' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'FFT' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Fill' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'FlipLeftRight' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Floor' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'FloorDiv' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'FusedConv2D' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'FusedDepthwiseConv2D' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'GatherNd' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'GatherV2' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Greater' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'GreaterEqual' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Identity' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'IFFT' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Imag' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'IsFinite' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'IsInf' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'IsNan' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'LeakyRelu' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Less' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'LessEqual' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'LinSpace' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Log' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Log1p' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'LogicalAnd' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'LogicalNot' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'LogicalOr' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'LRN' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'LRNGrad' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Max' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Maximum' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'MaxPool' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'MaxPool3D' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'MaxPool3DGrad' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'MaxPoolGrad' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'MaxPoolWithArgmax' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Mean' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Min' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Minimum' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'MirrorPad' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Mod' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Multinomial' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Multiply' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Neg' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'NonMaxSuppressionV3' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'NonMaxSuppressionV4' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'NonMaxSuppressionV5' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'NotEqual' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'OneHot' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'OnesLike' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Pack' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'PadV2' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Pow' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Prelu' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Prod' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'RaggedGather' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'RaggedTensorToTensor' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Range' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Real' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'RealDiv' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Reciprocal' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Relu' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Relu6' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Reshape' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'ResizeBilinear' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'ResizeBilinearGrad' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'ResizeNearestNeighbor' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'ResizeNearestNeighborGrad' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Reverse' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'RotateWithOffset' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Round' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Rsqrt' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'ScatterNd' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'SearchSorted' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Select' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Selu' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Sigmoid' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Sign' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Sin' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Sinh' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Slice' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Softmax' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Softplus' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'SpaceToBatchND' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'SparseFillEmptyRows' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'SparseReshape' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'SparseSegmentMean' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'SparseSegmentSum' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'SparseToDense' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'SplitV' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Sqrt' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Square' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'SquaredDifference' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Step' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'StridedSlice' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'StringNGrams' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'StringSplit' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'StringToHashBucketFast' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Sub' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Sum' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Tan' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Tanh' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Tile' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'TopK' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Transform' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Transpose' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Unique' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'Unpack' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'UnsortedSegmentSum' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel 'ZerosLike' for backend 'cpu' is already registered
stable-diffusion-discord-bot | The kernel '_FusedMatMul' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Abs' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Acos' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Acosh' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Add' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'AddN' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'All' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Any' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'ArgMax' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'ArgMin' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Asin' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Asinh' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Atan' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Atan2' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Atanh' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'AvgPool' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'AvgPool3D' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'AvgPool3DGrad' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'AvgPoolGrad' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'BatchMatMul' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'FusedBatchNorm' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'BatchToSpaceND' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Bincount' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'BroadcastArgs' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Cast' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Ceil' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'ClipByValue' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Complex' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'ComplexAbs' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Concat' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Conv2D' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Conv2DBackpropFilter' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Conv2DBackpropInput' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Conv3D' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Conv3DBackpropFilterV2' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Conv3DBackpropInputV2' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Cos' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Cosh' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'CropAndResize' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Cumprod' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Cumsum' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'DenseBincount' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'DepthToSpace' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'DepthwiseConv2dNative' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'DepthwiseConv2dNativeBackpropFilter' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'DepthwiseConv2dNativeBackpropInput' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Diag' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Dilation2D' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Einsum' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Elu' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'EluGrad' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Equal' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Erf' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Exp' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'ExpandDims' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Expm1' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'FFT' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Fill' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'FlipLeftRight' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Floor' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'FloorDiv' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'FromPixels' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'FusedConv2D' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'FusedDepthwiseConv2D' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'GatherNd' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'GatherV2' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Greater' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'GreaterEqual' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Identity' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'IFFT' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Imag' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'IsFinite' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'IsInf' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'IsNan' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'LeakyRelu' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Less' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'LessEqual' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'LinSpace' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Log' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Log1p' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'LogicalAnd' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'LogicalNot' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'LogicalOr' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'LRN' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'LRNGrad' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Max' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Maximum' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'MaxPool' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'MaxPool3D' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'MaxPool3DGrad' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'MaxPoolGrad' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'MaxPoolWithArgmax' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Mean' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Min' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Minimum' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'MirrorPad' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Mod' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Multinomial' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Multiply' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Neg' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'NonMaxSuppressionV3' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'NonMaxSuppressionV4' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'NonMaxSuppressionV5' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'NotEqual' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'OneHot' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'OnesLike' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Pack' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'PadV2' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Pow' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Prelu' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Prod' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'RaggedGather' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'RaggedTensorToTensor' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Range' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Real' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'RealDiv' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Reciprocal' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Relu' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Relu6' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Reshape' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'ResizeBilinear' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'ResizeBilinearGrad' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'ResizeNearestNeighbor' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'ResizeNearestNeighborGrad' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Reverse' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'RotateWithOffset' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Round' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Rsqrt' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'ScatterNd' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'SearchSorted' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Select' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Selu' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Sigmoid' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Sign' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Sin' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Sinh' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Slice' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Softmax' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Softplus' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'SpaceToBatchND' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'SparseFillEmptyRows' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'SparseReshape' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'SparseSegmentMean' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'SparseSegmentSum' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'SparseToDense' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'SplitV' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Sqrt' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Square' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'SquaredDifference' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Step' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'StridedSlice' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'StringNGrams' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'StringSplit' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'StringToHashBucketFast' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Sub' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Sum' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Tan' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Tanh' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Tile' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'TopK' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Transform' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Transpose' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Unique' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'Unpack' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'UnsortedSegmentSum' for backend 'webgl' is already registered
stable-diffusion-discord-bot | The kernel 'ZerosLike' for backend 'webgl' is already registered
stable-diffusion-discord-bot | init schedule
stable-diffusion-discord-bot | Connected to discord
stable-diffusion-discord-bot | Invite bot to server: https://discord.com/oauth2/authorize?client_id=1124199012011102248&scope=bot&permissions=124992
stable-diffusion-discord-bot | Guilds: 1
stable-diffusion-discord-bot | Queue db: null , Users: 0 , Payments: 0
rembg | INFO: Started server process [1]
rembg | INFO: Waiting for application startup.
rembg | INFO: Application startup complete.
rembg | INFO: Uvicorn running on http://0.0.0.0:5000 (Press CTRL+C to quit)
stable-diffusion-discord-bot | /app/index.js:354
stable-diffusion-discord-bot | if (!args.model||args.model===undefined||!Object.keys(models).includes(args.model)){args.model=defaultModel}else{args.model=args.model}
stable-diffusion-discord-bot exited with code 0
stable-diffusion-discord-bot | ^
stable-diffusion-discord-bot |
stable-diffusion-discord-bot | TypeError: Cannot convert undefined or null to object
stable-diffusion-discord-bot | at Function.keys (<anonymous>)
stable-diffusion-discord-bot | at request (/app/index.js:354:52)
stable-diffusion-discord-bot | at Object.execute (/app/index.js:170:7)
stable-diffusion-discord-bot | at /app/index.js:1621:49
stable-diffusion-discord-bot | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
stable-diffusion-discord-bot | at async CommandClient.<anonymous> (/app/index.js:1620:7)
stable-diffusion-discord-bot |
stable-diffusion-discord-bot | Node.js v18.16.1
When trying to compose I am getting this error:
ERROR [arty internal] booting buildkit
Error reponse from daemon: crun: create `/sys/fs/cgroup/docker/buildx/libpod-ad867a7c0040b4c7f1ed9096bed3accf80d3...`: Permission denied: OCI permission denied
Docker version:
Docker version 24.0.2, build cb74dfc
Docker Compose version v2.18.1
Bot crashes if you are using stripe payment and not hive, no easy way to turn off hive in config file? Thank you for the bot! and keep up the great work!
[email protected] start
node index.js
node:internal/modules/cjs/loader:998
throw err;
^
Error: Cannot find module 'sharp'
Require stack:
Node.js v18.12.1
Every time I restart the script, it'll regenerate the last prompt which'll @mention the last person who used the bot. It's really frustrating and makes someone confused every time it happens
if(msg.author.bot) return // ignore all bot messages
I have other bots messaging this, can you add it to the config file? where we can turn it off or on easyer <3
On this line (index.js:85 below, but my script is modified):
stable-diffusion-discord-bot/index.js
Line 81 in f3c2632
DiscordRESTError [10062]: Unknown interaction
at RequestHandler.request ([...]\stable-diffusion-discord-bot\node_modules\eris\lib\rest\RequestHandler.js:75:15)
at Client.createInteractionResponse ([...]\stable-diffusion-discord-bot\node_modules\eris\lib\Client.js:770:36)
at CommandInteraction.createMessage ([...]\stable-diffusion-discord-bot\node_modules\eris\lib\structures\CommandInteraction.js:239:55)
at Client.<anonymous> ([...]\stable-diffusion-discord-bot\index.js:84:97)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^
DiscordRESTError [10062]: Unknown interaction
at RequestHandler.request ([...]\stable-diffusion-discord-bot\node_modules\eris\lib\rest\RequestHandler.js:75:15)
at Client.createInteractionResponse ([...]\stable-diffusion-discord-bot\node_modules\eris\lib\Client.js:770:36)
at CommandInteraction.createMessage ([...]\stable-diffusion-discord-bot\node_modules\eris\lib\structures\CommandInteraction.js:239:55)
at Client.<anonymous> ([...]\stable-diffusion-discord-bot\index.js:85:61)
at processTicksAndRejections (node:internal/process/task_queues:96:5)```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.