In this recommend system, if I define the variable item_id as 4 (for example) it will work perfectly. But if I use this:
item_id = int(st.number_input('Digite a id do livro:'))
... it will not work and will give me IndexError: list index out of range
even I use input instead of st.number_input it will work in the terminal.