code: def server_url():
      server_url = os.getenv("H2OGPT_SERVER")
      if not server_url:
          LOGGER.info(
              "Couldn't find a running h2oGPT server. Hence starting a one."
          )
  
          generate = _import_module_from_h2ogpt("generate.py")
          generate.main(
              base_model="h2oai/h2ogpt-oig-oasst1-512-6_9b",
              prompt_type="human_bot",
              chat=False,
              stream_output=False,
              gradio=True,
              num_beams=1,
              block_gradio_exit=False,
          )
          server_url = "http://0.0.0.0:7860"  # assume server started
          LOGGER.info(f"h2oGPT server started at '{server_url}'.")
      return server_url
  
file_path: h2ogpt/client/tests/conftest.py
imports: import importlib.util
  import logging
  import os
  import sys
  from pathlib import Path
  from types import ModuleType
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: server_url() and returns: server_url