docstr: :param ak: ak for applying token to request wenxin api.
  :param sk: sk for applying token to request wenxin api.
docstr_tok: [":","param","ak",":","ak","for","applying","token","to","request","wenxin","api",".",":","param","sk",":","sk","for","applying","token","to","request","wenxin","api","."]
code: def __init__(self, ak=None, sk=None):
      """
      :param ak: ak for applying token to request wenxin api.
      :param sk: sk for applying token to request wenxin api.
      """
      self.ak = ak
      self.sk = sk
      self.token_host = (
          "https://wenxin.baidu.com/younger/portal/api/oauth/token"
      )
      self.token = self._apply_token(self.ak, self.sk)
  
imports: import argparse
  import base64
  import os
  import time
  from io import BytesIO
  from typing import Optional
  import gradio
  import numpy
  import requests
  from PIL import Image
  from tqdm.auto import tqdm
  from paddlehub.module.module import moduleinfo
  from paddlehub.module.module import runnable
  from paddlehub.module.module import serving
label_desc: Use image node_id 1 to create a new ErnieVilG object  with example: obj = ErnieVilG(ak, sk)