diff options
| author | yum <yum.food.vr@gmail.com> | 2023-12-26 02:18:58 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2023-12-26 02:18:58 -0800 |
| commit | a4c1870f724f18e98c33468b4d038dd1c742e4bd (patch) | |
| tree | 54721b70fd73997076199da0ea39e0ce5d2ef367 /curate/Makefile | |
| parent | e773bf75a562a8ed5afe72642ed39ba196ffab75 (diff) | |
Add optional transcription & curation components
Add a transcribe button, which transcribes each .wav file using
openai/whisper-large-v2, producing a corresponding .txt file.
Also add a TUI tool for WSL. This tool lets you view transcripts and
delete them with vi-like commands. Useful for cleaning data.
Diffstat (limited to 'curate/Makefile')
| -rw-r--r-- | curate/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/curate/Makefile b/curate/Makefile new file mode 100644 index 0000000..d4e63dc --- /dev/null +++ b/curate/Makefile @@ -0,0 +1,25 @@ +CC=g++ +CFLAGS=-c -O2 -std=c++20 +LDFLAGS=-lcurses + +EXE=ui +SRCS=ui.cc +OBJS=$(SRCS:.cc=.o) +HDRS= + +.PHONY: all +all: $(EXE) + +$(EXE): $(OBJS) + $(CC) $^ $(LDFLAGS) -o $@ + +%.o: %.cc %.h + $(CC) $(CFLAGS) $< -o $@ + +%.o: %.cc + $(CC) $(CFLAGS) $< -o $@ + +.PHONY: clean +clean: + @rm -f $(OBJS) $(EXE) + |
