code: def clear_history(request: gr.Request):
      logger.info(f"clear_history. ip: {request.client.host}")
      state = default_conversation.copy()
      return (state, state.to_gradio_chatbot(), "", None, None) + (
          disable_btn,
      ) * 5
  
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 10 for calling a global function with example usage: clear_history(request) and returns: unknown