30 unmodified lines313233343435363730 unmodified lines# model.to(device) @st.cachest.empty()#st.empty()def btTranslator(docxfile): if torch.cuda.is_available(): dev = "cuda"