-
Notifications
You must be signed in to change notification settings - Fork 0
/
pixi.toml
41 lines (38 loc) · 1.06 KB
/
pixi.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[project]
name = "transcriber"
version = "0.1.0"
description = "A transcriber application using Whisper"
authors = ["datajoely"]
channels = ["conda-forge"]
platforms = ["osx-arm64", "osx-64"]
[tasks]
download_whisper = { cmd = [
"curl",
"-L" ,
"-o" ,
"whisper.zip",
"https://github.com/ggerganov/whisper.cpp/archive/refs/heads/master.zip"
], outputs = ["whisper.zip"]}
prepare_whisper = {cmd = [
"unzip",
"-o",
"whisper",
"&&",
"rm",
"whisper.zip"
], depends_on = ["download_whisper"]}
install_whisper = {cmd = ["make"], cwd = "whisper.cpp-master", depends_on = ["prepare_whisper"]}
install_model = {cmd = [
"make",
"$WHISPER_MODEL"
], env = { WHISPER_MODEL = "tiny.en" }, cwd = "whisper.cpp-master", depends_on = ["install_whisper"], outputs = ["ggml-*.bin"]}
ruff = {cmd = [
"ruff" , ".", "--fix", "&&", "ruff", "format", "."
]}
[dependencies]
python = ">=3.12.3,<3.13"
pydub = ">=0.25.1,<0.26"
ruff = ">=0.4.2,<0.5"
ffmpeg = ">=6.1.1,<6.2"
streamlit = ">=1.33.0,<1.34"
streamlit-aggrid = ">=1.0.3.post2,<1.0.4"