code: def main():
      from generate import entrypoint_main as main_h2ogpt
  
      os.environ["h2ogpt_block_gradio_exit"] = "False"
      os.environ["h2ogpt_score_model"] = ""
      main_h2ogpt()
  
      server_name = os.getenv(
          "h2ogpt_server_name",
          os.getenv("H2OGPT_SERVER_NAME", "localhost"),
      )
      server_port = os.getenv("GRADIO_SERVER_PORT", str(7860))
  
      url = "http://%s:%s" % (server_name, server_port)
      webbrowser.open(url)
  
      while True:
          time.sleep(10000)
  
imports: import os
  import sys
  import time
  import webbrowser
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types