Facing Resource Constraint

Code
line_ppcr_0 = FileAttachment("line_ppcr_0.svg").text()
line_ppcr_01 = FileAttachment("line_ppcr_01.svg").text()
line_ppcr_02 = FileAttachment("line_ppcr_02.svg").text()
line_ppcr_03 = FileAttachment("line_ppcr_03.svg").text()
line_ppcr_04 = FileAttachment("line_ppcr_04.svg").text()

svgFiles = [line_ppcr_0, line_ppcr_01, line_ppcr_02, line_ppcr_03, line_ppcr_04]

// Create a viewof slider element
viewof ppcrIndex = Inputs.range([0, 4], {
  step: 1, 
  value: 0, 
  label: "Shape:"
})

// Display the SVG based on the slider value
html`<div style="width:300px; height:300px">${svgFiles[ppcrIndex]}</div>`