code: def print_like_dislike(x: gr.LikeData):
      print(x.index, x.value, x.liked)
  
imports: import gradio
  import os
  import time
label_desc: Use image node_id 1 for calling a global function with example usage: print_like_dislike(x) without return types