Created message service responsible for searching the prompts inside the recognized text and sending it to the client. Created recognizer with two strategies: whisper and Dany's fast whisper. Implemented file stack which works in the separated thread, sends the file to the recognizer and after that sends the message to the client (Rat, for example).
7 lines
217 B
Makefile
7 lines
217 B
Makefile
run:
|
|
PYTORCH_NO_CUDA_MEMORY_CACHING=1 \
|
|
PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True \
|
|
CUDA_LAUNCH_BLOCKING=1 \
|
|
FLASK_APP=src/app.py \
|
|
PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:128 \
|
|
flask run --host=0.0.0.0
|