RuteNL commited on
Commit
5ee5cc1
·
verified ·
1 Parent(s): d0eb1a1

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -3
README.md CHANGED
@@ -13,13 +13,11 @@ This model is an export of [timm/MobileCLIP2-S2-OpenCLIP](https://huggingface.co
13
  ## Usage with `open_clip_inference` in Rust:
14
 
15
  ```rust
16
- use color_eyre::Result;
17
  use open_clip_inference::Clip;
18
  use std::path::Path;
19
 
20
  #[tokio::main]
21
- async fn main() -> Result<()> {
22
- color_eyre::install()?;
23
  let model_id = "RuteNL/MobileCLIP2-S2-OpenCLIP-ONNX";
24
  let mut clip = Clip::from_hf(model_id).build().await?;
25
 
 
13
  ## Usage with `open_clip_inference` in Rust:
14
 
15
  ```rust
 
16
  use open_clip_inference::Clip;
17
  use std::path::Path;
18
 
19
  #[tokio::main]
20
+ async fn main() -> Result<(), Box<dyn std::error::Error>> {
 
21
  let model_id = "RuteNL/MobileCLIP2-S2-OpenCLIP-ONNX";
22
  let mut clip = Clip::from_hf(model_id).build().await?;
23