master
Kar 2025-06-15 23:16:15 +05:30
parent a4da5e0b24
commit 67d03a9b9d
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ WORKDIR /whisper.cpp
RUN make RUN make
# Verify main executable was built # Verify main executable was built
RUN ls -lh main && file main # RUN ls -lh main && file main
FROM ubuntu:22.04 AS runtime FROM ubuntu:22.04 AS runtime

2
app.py
View File

@ -7,7 +7,7 @@ import subprocess
app = Flask(__name__) app = Flask(__name__)
CORS(app) CORS(app)
WHISPER_CPP_PATH = "/whisper.cpp/main" WHISPER_CPP_PATH = "/whisper.cpp"
MODEL_PATH = "/whisper.cpp/models/ggml-base.en.bin" MODEL_PATH = "/whisper.cpp/models/ggml-base.en.bin"
@app.route('/transcribe', methods=['POST']) @app.route('/transcribe', methods=['POST'])