Encapsulate as an API? #364
Replies: 5 comments 1 reply
-
this seems like something that could be easily added: https://github.com/haseeb-heaven/FastServer?ref=morioh.com&utm_source=morioh.com if we have the time we will add it. |
Beta Was this translation helpful? Give feedback.
-
Not sure what you mean by "encapsulating this as an API" - do you need an HTTP RESTful API for |
Beta Was this translation helpful? Give feedback.
-
yes. we know python, nodejs, php eally well. not quite as sure about cpp yet. but the idea would be to be able to call your whisper.cpp as an API from python, or nodejs, or php as a RESTFUL API or as a direct call from one of those languages. like this: https://morioh.com/p/189da50601a3 |
Beta Was this translation helpful? Give feedback.
-
super cool, will try this out! |
Beta Was this translation helpful? Give feedback.
-
this is good way to using Whisper.cpp in Python, it's easy to wrap as a service, but how to avoid load model each time? |
Beta Was this translation helpful? Give feedback.
-
any recommendations on encapsulating this as an API using something like FastAPI?
Beta Was this translation helpful? Give feedback.
All reactions