mirror of
https://github.com/azaion/annotations.git
synced 2026-04-23 00:46:31 +00:00
put default config if no config.json found
refactor Constants
This commit is contained in:
@@ -45,7 +45,7 @@ public class InferenceClient : IInferenceClient
|
||||
using var process = new Process();
|
||||
process.StartInfo = new ProcessStartInfo
|
||||
{
|
||||
FileName = SecurityConstants.EXTERNAL_INFERENCE_PATH,
|
||||
FileName = Constants.EXTERNAL_INFERENCE_PATH,
|
||||
Arguments = $"-p {_inferenceClientConfig.ZeroMqPort} -lp {_loaderClientConfig.ZeroMqPort} -a {_inferenceClientConfig.ApiUrl}",
|
||||
CreateNoWindow = true
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user