Omnibus commited on
Commit
9aa5f8a
·
verified ·
1 Parent(s): 776649b

Update app.py

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