How to consume this inference model in my application
huggingface.coPortaSpeech - a Hugging Face Space by NATSpeechDiscover amazing ML apps made by the communityI have been working on developing a chatbot, for that i would like to consume the above inference model in my application. I have used transformers from hugging face, but not very sure how to consume this model. Please let me know how i can poll this inference model from my application.
2022-02-18T14:19:59Z
HelloYou can either use apipeline(if model is hosted on HF and the task has a pipeline) or send a request to the Inference API (again if model is on HF). You can also pull the space and look for how the inference takes place and write the inference part yourself.
2022-02-18T16:25:31Z
Thank you so much for the response merve, Looks like the model is not present in the HuggingFace hub, NATSpeech, portaspeech. How to pull the space and look for inference? could you point to documentation on that?How i can pull the space and use it in my production application?