code: def upvote_last_response(state, model_selector, request: gr.Request):
      logger.info(f"upvote. ip: {request.client.host}")
      vote_last_response(state, "upvote", model_selector, request)
      return ("",) + (disable_btn,) * 3
  
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 6 for calling a global function with example usage: upvote_last_response(state, model_selector, request) and returns: unknown