text: import os
  import argparse
  
  from tfhub_classifier import TFHubClassifier
  from htx import app, init_model_server
  
  init_model_server(
      # refer to class definition that inherits htx.BaseModel and implements load() and predict() methods
      create_model_func=TFHubClassifier,
      # training script that will be called within RQ
      train_script=TFHubClassifier.fit_single_label,
      # name of the Redis queue
      redis_queue=os.environ.get('RQ_QUEUE_NAME', 'default'),
      # Redis host
      redis_host=os.environ.get('REDIS_HOST', 'localhost'),
      # here we pass the kwargs parameters to train script
      tfhub_module_spec=os.environ.get('tfhub_module_spec', 'https://tfhub.dev/google/universal-sentence-encoder/2')
  )
  
  if __name__ == "__main__":
      parser = argparse.ArgumentParser()
      parser.add_argument('--port', dest='port', default='9090')
      args = parser.parse_args()
      app.run(host='localhost', port=args.port, debug=True)
  