feat: update workspace paths and enhance gitignore
- Updated stablediffusion crate path from "../stable-diffusion-burn" to "./crates/stable-diffusion-burn" for proper workspace resolution - Enhanced .gitignore to include generated model files (.mpk, .pt, .bin, .safetensors, .ckpt) and user_data directory - Added Cargo.lock to gitignore with appropriate comment - Reorganized IDE files section in gitignore for better clarity - Added newline at end of file for proper formatting
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
use derive_new::new;
|
||||
|
||||
/// 2D size used for vision ops.
|
||||
#[derive(new, Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||
pub struct Size {
|
||||
/// Width of the element
|
||||
pub width: usize,
|
||||
/// Height of the element
|
||||
pub height: usize,
|
||||
}
|
||||
|
||||
/// 2D Point used for vision ops. Coordinates start at the top left.
|
||||
#[derive(new, Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||
pub struct Point {
|
||||
/// X (horizontal) coordinate
|
||||
pub x: usize,
|
||||
/// Y (vertical) coordinate
|
||||
pub y: usize,
|
||||
}
|
||||
Reference in New Issue
Block a user