code: def start_task(id_task):
      global current_task
  
      current_task = id_task
      pending_tasks.pop(id_task, None)
  
file_path: stable-diffusion-webui/modules/progress.py
imports: import base64
  import io
  import time
  import gradio
  from pydantic import BaseModel, Field
  from modules.shared import opts
  import modules.shared
label_desc: Use image node_id 1 for calling a global function with example usage: start_task(id_task) without return types