Adds some backward compatibility code so old inference code still works.
Attach a file by drag & drop or click to upload