Functions work with example input list but produces error while running the app

When I insert the input list and test the functions, the functions produce the value of the predicted probability that I want to plot.

input=list(Age=20, Gender=1, GCS_Bestin24=4, Premorbid_depression=0, Antidep_first6m=0,
           MIP_1a=1,
           MIP_3a=1,
           RANTES=1,
           sIL_6R=1,
           ITAC=1,
           IL_21=1,
           Fractalkine=1,
           TNF_a=1,
           IL_1b=1,
           IL_7=1,
           IL_10=1,
           GM_CSF=1,
           MIP_1b=1,
           thresholdslider=0.5)

But when I try to run the Shiny app, the same functions produce an error saying "arguments imply differing number of rows: 0, 1".

I couldn't upload the files here, but I upload all files here: ShinyAppQ - Google Drive

I'm new to Shiny and don't know why this problem occurs. Can anyone tell me how to fix it?