Spaces:
Runtime error
Runtime error
Loli-Killer
commited on
Commit
Β·
eeaed35
1
Parent(s):
988d35c
Update app.py
Browse files
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):
|