How to deploy this? #1543
Replies: 4 comments 4 replies
-
As of my last knowledge update in September 2021, I don't have specific information about a library named "whisper.cpp" for real-time transcription. However, if you have a C++ library or tool that you want to use within a Python server, you have a few options. 1.Create a Python Wrapper: Regarding Docker, if you want to deploy your Python server and the C++ application together, you can create a Docker image. The Docker image should include the necessary dependencies and the C++ application. Here is a simplified example of a Dockerfile: Install any Python dependencies...Copy your Python server code into the imageCOPY ./your_python_server /app Copy your C++ application into the imageCOPY ./your_cpp_app /app Set the working directoryWORKDIR /app Install any C++ dependencies and build the C++ applicationRUN apt-get update && Expose the port your Python server is running onEXPOSE 8000 Command to run your Python serverCMD ["python", "your_server_script.py"] Replace "yourpythonserver," "yourcppapp," and other placeholders with your actual file and directory names. |
Beta Was this translation helpful? Give feedback.
-
Could you share your prompt? I'd love to see what kind of response GPT-4 comes up with. LOL |
Beta Was this translation helpful? Give feedback.
-
is there any websocket server API which can take in audio chunks and return text in development? |
Beta Was this translation helpful? Give feedback.
-
I have a python server, i want to use whisper.cpp for realtime transcription, how to do this? is there any way to deploy this and run it using a library. Is there any docker file which i can deploy directly and use?
Beta Was this translation helpful? Give feedback.
All reactions