Loli-Killer commited on
Commit
eeaed35
Β·
1 Parent(s): 988d35c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def pass_through(torch_output, key: str):
39
  key: torch_output.type(torch.float32).to(device)
40
  }
41
  output = model(input_data)
42
- return output[key]
43
 
44
 
45
  def nt_embed(sequence: str):
 
39
  key: torch_output.type(torch.float32).to(device)
40
  }
41
  output = model(input_data)
42
+ return output[key].detach().numpy()
43
 
44
 
45
  def nt_embed(sequence: str):