Acly commited on
Commit
9b91be7
·
1 Parent(s): dedf6ef

Readme: fix typo in code

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -32,8 +32,8 @@ image_data image = image_load("input.png");
32
  backend_device device = backend_init();
33
  depthany_model model = depthany_load_model("Depth-Anything-V2-Small-F16.gguf", device);
34
  image_data depth = depthany_compute(model, image);
35
- image_data image = image_f32_to_u8(depth, image_format::alpha_u8);
36
- image_save(image, "depth.png");
37
  ```
38
 
39
  ## License
 
32
  backend_device device = backend_init();
33
  depthany_model model = depthany_load_model("Depth-Anything-V2-Small-F16.gguf", device);
34
  image_data depth = depthany_compute(model, image);
35
+ image_data output = image_f32_to_u8(depth, image_format::alpha_u8);
36
+ image_save(output, "depth.png");
37
  ```
38
 
39
  ## License