Skip to content

Commit b9a8434

Browse files
committed
init denoise models
1 parent bdbf36e commit b9a8434

File tree

8 files changed

+20
-1
lines changed

8 files changed

+20
-1
lines changed

Cargo.lock

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ hypr-nango = { path = "crates/nango", package = "nango" }
4747
hypr-notification = { path = "crates/notification", package = "notification" }
4848
hypr-notification2 = { path = "crates/notification2", package = "notification2" }
4949
hypr-notion = { path = "crates/notion", package = "notion" }
50+
hypr-onnx = { path = "crates/onnx", package = "onnx" }
5051
hypr-openai = { path = "crates/openai", package = "openai" }
5152
hypr-s3 = { path = "crates/s3", package = "s3" }
5253
hypr-slack = { path = "crates/slack", package = "slack" }

crates/aec/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
hypr-onnx = { path = "../onnx", package = "onnx" }
7+
hypr-onnx = { workspace = true }
88

99
anyhow = { workspace = true }
1010
ndrustfft = "0.5.0"

crates/denoise/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[package]
2+
name = "denoise"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
[dependencies]
7+
hypr-onnx = { workspace = true }

crates/denoise/data/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- `https://github.com/breizhn/DTLN/blob/master/pretrained_model/model_1.onnx`
2+
- `https://github.com/breizhn/DTLN/blob/master/pretrained_model/model_2.onnx`

crates/denoise/data/model_1.onnx

1.39 MB
Binary file not shown.

crates/denoise/data/model_2.onnx

2.39 MB
Binary file not shown.

crates/denoise/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
const MODEL_1_BYTES: &[u8] = include_bytes!("../data/model_1.onnx");
2+
const MODEL_2_BYTES: &[u8] = include_bytes!("../data/model_2.onnx");

0 commit comments

Comments
 (0)