Compare commits
2 Commits
0c5c1f647c
...
6dffa401b7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6dffa401b7 | ||
|
|
f4d9730b5a |
@@ -6,9 +6,6 @@ edition = "2021"
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
whisper-rs = "0.8.0"
|
whisper-rs = { path = "./gitea-whisper-rs", version = "0.8.0" }
|
||||||
wav = "1"
|
wav = "1"
|
||||||
tokio = "1.27"
|
tokio = "1.27"
|
||||||
|
|
||||||
[patch.crates-io]
|
|
||||||
whisper-rs = { path = "./gitea-whisper-rs" }
|
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ fn main() {
|
|||||||
std::env::var("P").unwrap_or(String::from("1")).parse::<i32>().expect("$P must be a number")
|
std::env::var("P").unwrap_or(String::from("1")).parse::<i32>().expect("$P must be a number")
|
||||||
);
|
);
|
||||||
params.set_translate(false);
|
params.set_translate(false);
|
||||||
|
params.set_detect_language(false);
|
||||||
params.set_language(Some("en"));
|
params.set_language(Some("en"));
|
||||||
params.set_print_special(false);
|
params.set_print_special(false);
|
||||||
params.set_print_progress(false);
|
params.set_print_progress(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user