code: def load_sources(self, sources):
          
  
          self.clear()
          for s in sources:
  
              if isinstance(s, dict):
                  s = Model.create_from_dict(s)
  
              self.load_source(s, build_index=False)
          self._build_src_index()
docs: Delete all sources in the ROI and load the input source list.