Override the image prompt (used to pass the positional CLI prompt).
(&mut self, prompt: &str)
| 431 | |
| 432 | /// Override the image prompt (used to pass the positional CLI prompt). |
| 433 | pub fn set_prompt(&mut self, prompt: &str) { |
| 434 | self.image_prompt = prompt.to_string(); |
| 435 | } |
| 436 | } |
| 437 | |
| 438 | #[derive(Debug, Clone, Copy, clap::ValueEnum, PartialEq, Eq, Default)] |