oucgc1996 commited on
Commit
8799be2
1 Parent(s): 84cc8ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ class MyDataset(Dataset):
51
  def __init__(self,dict_data) -> None:
52
  super(MyDataset,self).__init__()
53
  self.data=dict_data
54
- self.structure=pdb_structure(dict_data['test_sequences'])
55
  def __getitem__(self, index):
56
  return self.data['text'][index], self.structure[index]
57
  def __len__(self):
 
51
  def __init__(self,dict_data) -> None:
52
  super(MyDataset,self).__init__()
53
  self.data=dict_data
54
+ self.structure=pdb_structure(dict_data['text'])
55
  def __getitem__(self, index):
56
  return self.data['text'][index], self.structure[index]
57
  def __len__(self):