report args

This commit is contained in:
Brandon Thomas committed 2024-05-21 22:10:38 -04:00
1 parent 358742a169
commit b4ff35e33a
2 files changed
+4

No files matched your search

@@ -78,6 +78,7 @@ pub enum ExecutableOrCommand {
Command(String),
}
#[derive(Debug)]
pub struct InferenceArgs<'s> {
pub stderr_output_file: &'s Path,
pub stdout_output_file: &'s Path,
@@ -93,6 +94,7 @@ pub struct InferenceArgs<'s> {
pub maybe_strength: Option<f32>,
}
#[derive(Debug)]
pub enum InferenceDetails<'s> {
OldRustArgs {
/// Location of the prompt JSON file
@@ -168,6 +168,8 @@ pub async fn process_job(args: ComfyProcessJobArgs<'_>) -> Result<JobSuccessResu
_ => return Err(ProcessSingleJobError::Other(anyhow!("ComfyUi args not found"))),
};
info!("Workflow args: {:?}", comfy_args);
let mut should_insert_prompt_record = false;
let mut maybe_style_name = None;
let mut maybe_positive_prompt = None;