For conversion to work on client side  in browseryou can check out this codelab:

  
      

      Google Codelabs
  

  
    

TensorFlow.js: Convert a Python SavedModel to TensorFlow.js format 1

  In this codelab, you’ll learn how to take an existing Python ML model that is in the SavedModel format and convert it to the TensorFlow.js format so it can run in a web browser whilst also learning how to address common issues that may occur in...


  

  
    
    
  

  


If you want to run server side and just expose answer via the web but do the inference server side you can use TensorFlow.js in Node.js and you can directly take a SavedModel WITHOUT conversion and use with TensorFlow.js Node. This will make your life much easier to integrate with traditional web stack as you can use websockets and Express very easily - not to mention your pre/post processing will benefit from the JIT Compiler of JS which means you can get potentially around a 2x speed improvement over Python end to end inference times (including the pre/post processing) depening on how much pre/post processing you have, which may be useful in your use case. See this case study:

  
      

      blog.tensorflow.org
  

  
    

How Hugging Face achieved a 2x performance boost for Question Answering with... 2

  The TensorFlow blog contains regular news from the TensorFlow team and the community, with articles on Python, TensorFlow.js, TF Lite, TFX, and more.