From 57e5704c1d7e5e7cd018886ce67f71ddc89e59a7 Mon Sep 17 00:00:00 2001 From: Keroosha Date: Fri, 14 Apr 2023 00:27:43 +0300 Subject: [PATCH] fix args --- Keroosha.SilencerBot/Processing.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Keroosha.SilencerBot/Processing.fs b/Keroosha.SilencerBot/Processing.fs index 2b58388..fc377f3 100644 --- a/Keroosha.SilencerBot/Processing.fs +++ b/Keroosha.SilencerBot/Processing.fs @@ -100,7 +100,7 @@ let processExecuting (job: UserJob, botConfig: Funogram.Types.BotConfig, config: async { Logging.logger.Information $"Processing {job.Id} job" let ctx = getContext job - let gpuFlag = if config.useGPU then ["--gpu 0 --batchsize 2"] else [] + let gpuFlag = if config.useGPU then ["--gpu"; "0"; "--batchsize"; "2"] else [] let args = List.collect id <| [ ["inference.py"; "--input"; ctx.savePath; "--output_dir"; config.tempSavePath]