Omnibus commited on
Commit
ee99dde
·
verified ·
1 Parent(s): c845a4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def load_bin(model_name,file_name):
19
  print("#######")
20
  print(dir(r))
21
  torch.set_printoptions(profile="full")
22
- result=torch.frombuffer(r.content,dtype=torch.get_default_dtype(),offset=3)
23
  print(dir(result))
24
  #result = torch.frombuffer(io.BytesIO(),dtype=torch.get_default_dtype())
25
  #result = torch.from_numpy(r.content)
 
19
  print("#######")
20
  print(dir(r))
21
  torch.set_printoptions(profile="full")
22
+ result=torch.frombuffer(r.content,dtype=torch.get_default_dtype(),offset=1)
23
  print(dir(result))
24
  #result = torch.frombuffer(io.BytesIO(),dtype=torch.get_default_dtype())
25
  #result = torch.from_numpy(r.content)