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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def load_bin(model_name,file_name):
18
  #print(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
  result=torch.frombuffer(r.content,dtype=torch.float32,offset=27)
24
  print(dir(result))
 
18
  #print(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
  result=torch.frombuffer(r.content,dtype=torch.float32,offset=27)
24
  print(dir(result))