Browse Source

Fix seq2seq repository

pull/1310/head
Hironsan 3 years ago
parent
commit
d5db36b370
1 changed files with 1 additions and 1 deletions
  1. 2
      app/api/views/download/repositories.py

2
app/api/views/download/repositories.py

@ -79,7 +79,7 @@ class Seq2seqRepository(TextRepository):
@property
def docs(self):
return self.project.documents.prefetch_related(
'seq2seq_annotations__user', 'seq2seq_annotations__text'
'seq2seq_annotations__user'
)
def label_per_user(self, doc) -> Dict:

Loading…
Cancel
Save