diff --git a/frontend/repositories/tasks/seq2seq/apiSeq2seq.ts b/frontend/repositories/tasks/seq2seq/apiSeq2seq.ts index d1672c04..eea4e162 100644 --- a/frontend/repositories/tasks/seq2seq/apiSeq2seq.ts +++ b/frontend/repositories/tasks/seq2seq/apiSeq2seq.ts @@ -14,6 +14,6 @@ export class APISeq2seqRepository extends AnnotationRepository { } protected baseUrl(projectId: string, docId: number): string { - return `/projects/${projectId}/docs/${docId}/annotations` + return `/projects/${projectId}/examples/${docId}/texts` } } diff --git a/frontend/repositories/tasks/sequenceLabeling/apiSequenceLabeling.ts b/frontend/repositories/tasks/sequenceLabeling/apiSequenceLabeling.ts index 4d6b1a16..36235d33 100644 --- a/frontend/repositories/tasks/sequenceLabeling/apiSequenceLabeling.ts +++ b/frontend/repositories/tasks/sequenceLabeling/apiSequenceLabeling.ts @@ -14,6 +14,6 @@ export class APISequenceLabelingRepository extends AnnotationRepository