Yanisadel commited on
Commit
f4d5754
·
1 Parent(s): 5504a90

Update chatNT.py

Browse files
Files changed (1) hide show
  1. chatNT.py +3 -2
chatNT.py CHANGED
@@ -728,8 +728,9 @@ class TorchMultiOmicsModel(PreTrainedModel):
728
 
729
  # Just for debugging
730
  print("(debug) remember to remove bio_embeddings storage")
731
- for i, embed in enumerate(bio_embeddings_list):
732
- outs[f"bio_embeddings_list_{i}"] = embed
 
733
 
734
  return outs
735
 
 
728
 
729
  # Just for debugging
730
  print("(debug) remember to remove bio_embeddings storage")
731
+ if projected_bio_embeddings is not None:
732
+ for i, embed in enumerate(bio_embeddings_list):
733
+ outs[f"bio_embeddings_list_{i}"] = embed
734
 
735
  return outs
736