fix command line arg

This commit is contained in:
Brandon Thomas committed 2024-07-16 22:34:42 -04:00
1 parent 0fdfc3b8fc
commit 5153bda209
2 files changed
+6 -2

No files matched your search

@@ -16,6 +16,9 @@ use crate::http_server::http_server_shared_state::HttpServerSharedState;
#[derive(Serialize)]
pub struct HealthCheckResponse {
pub success: bool,
/// The server goes unhealthy when the consecutive job failure count exceeds
/// a configured threshold.
pub is_healthy: bool,
pub consecutive_failure_count: u64,
@@ -32,8 +32,9 @@ impl CommandArgs for LivePortraitCommandArgs<'_> {
command.push_str(" --output-filename ");
command.push_str(&path_to_string(self.output_file));
command.push_str(" --input-is-image ");
command.push_str(bool_to_str(self.input_is_image));
if self.input_is_image {
command.push_str(" --input-is-image ");
}
command.push_str(" ");