mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-02 16:38:14 +00:00
report args
This commit is contained in:
1 parent
358742a169
commit
b4ff35e33a
2 files changed
+4
No files matched your search
+2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user