Update app.py
Browse files165 unmodified lines166167168169170171172165 unmodified lines# print(sum(p.numel() for p in m.parameters()) / 1e3, "K parameters")# load the model.pthmodel.load_state_dict(torch.load("model.pth", weights_only=True))model.eval()def respond(165 unmodified lines166167168169170171172173165 unmodified lines# print(sum(p.numel() for p in m.parameters()) / 1e3, "K parameters")# load the model.pthmodel.load_state_dict(torch.load("model.pth", weights_only=false, map_location=torch.device('cpu') )model.eval()def respond(
app.py+2-1