code: def update_readme(self, template_readme: Template):
          
          readme = os.path.join(self.cached_repo, "README.md")
          if os.path.exists(readme):
              os.remove(readme)
          links = {model_type: {} for model_type in self.models.keys()}
          for model_type, model_uuids in self.models.items():
              for model_uuid in model_uuids:
                  links[model_type][model_uuid] = os.path.join("/", model_type, "%s.md" % model_uuid)
          with open(readme, "w") as fout:
              fout.write(template_readme.render(models=self.models, meta=self.meta, links=links))
          git.add(self.cached_repo, [readme])
          self._log.info("Updated %s", readme)
docs: Generate the new README file locally.