mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 10:46:30 +00:00
refactor external clients
put model batch size as parameter in config
This commit is contained in:
@@ -8,7 +8,9 @@ namespace Azaion.Common.DTO.Config;
|
||||
|
||||
public class AppConfig
|
||||
{
|
||||
public PythonConfig PythonConfig { get; set; } = null!;
|
||||
public InferenceClientConfig InferenceClientConfig { get; set; } = null!;
|
||||
|
||||
public GpsDeniedClientConfig GpsDeniedClientConfig { get; set; } = null!;
|
||||
|
||||
public QueueConfig QueueConfig { get; set; } = null!;
|
||||
|
||||
@@ -85,7 +87,8 @@ public class ConfigUpdater : IConfigUpdater
|
||||
//Save without sensitive info
|
||||
var publicConfig = new
|
||||
{
|
||||
PythonConfig = config.PythonConfig,
|
||||
InferenceClientConfig = config.InferenceClientConfig,
|
||||
GpsDeniedClientConfig = config.GpsDeniedClientConfig,
|
||||
DirectoriesConfig = config.DirectoriesConfig,
|
||||
AnnotationConfig = config.AnnotationConfig,
|
||||
AIRecognitionConfig = config.AIRecognitionConfig,
|
||||
|
||||
Reference in New Issue
Block a user