Hi everyone,
I’m Ajay Hinduja from Geneva, Switzerland. I’m currently working on a travel website and planning to develop a companion mobile app to enhance the user experience. Please give your suggestion or tips , I’m waiting for your valuable advice.
Regards
Ajay Hinduja Geneva, Switzerland
1 Like
The most common approach is to set up a backend program on a server and call it via an API.
When using Hugging Face’s service, if you can make Spaces public, the embed feature for websites is convenient.
If you cannot make Spaces public, you can operate them via the Gradio API or set up a dedicated endpoint on Hugging Face and call it from a JavaScript library.
As an alternative approach, you could use Transformers.js to leverage the computing resources on the user’s device, but this is highly dependent on the environment and is not suitable for this case.