GPT and liver failure: In the training cohort, univariate logistic regression analyses identified that higher WBC counts, TBIL, ALT, AST, eGFR, PT, PTA, INR, CPT score, MELD score, comorbid shock, hepatic failure, HE and ascites were significantly associated with the failure of endoscopic hemostasis.