"llama.cpp/ggml/src/vulkan-shaders/copy.comp" did not exist on "7aa90c0ea35f88a5ef227b773e5a9fe3a0fd7eb2"
Unverified Commit 70c985fe authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #3447 from ben-z/stt-model-configurable

fix: Make STT model configurable
parents b0ed8ded 044bd003
......@@ -325,7 +325,7 @@ def transcribe(
headers = {"Authorization": f"Bearer {app.state.config.STT_OPENAI_API_KEY}"}
files = {"file": (filename, open(file_path, "rb"))}
data = {"model": "whisper-1"}
data = {"model": app.state.config.STT_MODEL}
print(files, data)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment