Spaces:
Sleeping
Sleeping
wwydmanski
commited on
Commit
•
c86f7b4
1
Parent(s):
66e4d8a
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def get_esmfold_embeddings(sequence):
|
|
45 |
with torch.no_grad():
|
46 |
output = model(tokenized_input)
|
47 |
|
48 |
-
return output["s_s"].cpu().numpy()
|
49 |
|
50 |
def suggest(option):
|
51 |
if option == "Plastic degradation protein":
|
|
|
45 |
with torch.no_grad():
|
46 |
output = model(tokenized_input)
|
47 |
|
48 |
+
return {"res": output["s_s"].cpu().numpy()}
|
49 |
|
50 |
def suggest(option):
|
51 |
if option == "Plastic degradation protein":
|