code: def load_demo_refresh_model_list(request: gr.Request):
      logger.info(f"load_demo. ip: {request.client.host}")
      models = get_model_list()
      state = default_conversation.copy()
      dropdown_update = gr.Dropdown.update(
          choices=models, value=models[0] if len(models) > 0 else ""
      )
      return state, dropdown_update
  
imports: import argparse
  import datetime
  import json
  import os
  import time
  import gradio
  import requests
  import tempfile
  import shutil
  from llamavid.conversation import default_conversation, conv_templates, SeparatorStyle
  from llamavid.constants import LOGDIR
  from llava.utils import build_logger, server_error_msg, violates_moderation, moderation_msg
  import hashlib
label_desc: Use image node_id 4 for calling a global function with example usage: load_demo_refresh_model_list(request) and returns: state,  dropdown_update