emmas96 commited on
Commit
ae5b369
·
1 Parent(s): 1473877

revert to check seqvec from bio_embeddings allennlp only

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,7 +97,7 @@ def display_dti():
97
  'Select encoder for protein target',('None', 'SeqVec', 'UniRep', 'ESM-1b', 'ProtT5')
98
  )
99
  if selected_encoder == 'SeqVec':
100
- from src.bio_embeddings.embed import SeqVecEmbedder
101
  encoder = SeqVecEmbedder()
102
  embedding = encoder([sequence])
103
  embedding = encoder.reduce_per_protein(embedding)
 
97
  'Select encoder for protein target',('None', 'SeqVec', 'UniRep', 'ESM-1b', 'ProtT5')
98
  )
99
  if selected_encoder == 'SeqVec':
100
+ from bio_embeddings.embed import SeqVecEmbedder
101
  encoder = SeqVecEmbedder()
102
  embedding = encoder([sequence])
103
  embedding = encoder.reduce_per_protein(embedding)