v3
This commit is contained in:
@@ -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
2
app.py
@@ -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'])
|
||||||
|
|||||||
Reference in New Issue
Block a user