input: Write a python function to generate a dictionary from the list of tuples with keys as tuple values and values as empty lists.
  assert generate_dict([('code', 'str'), ('name', 'str'), ('quantity', 'int')]) == {'code': [], 'name': [], 'quantity': []}
  assert generate_dict([('id', 'int'), ('description', 'str')]) == {'id': [], 'description': []}
  assert generate_dict([]) == {}
output: def generate_dict(tuples_list):
      return {key: [] for key, _ in tuples_list}