Skip to content

Commit

Permalink
Revert some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
johnml1135 committed Nov 26, 2024
1 parent 3c8bd73 commit 6886078
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ CancellationToken cancellationToken
new(await _sharedFileService.OpenWriteAsync($"builds/{buildId}/train.src.txt", cancellationToken));
await using StreamWriter targetTrainWriter =
new(await _sharedFileService.OpenWriteAsync($"builds/{buildId}/train.trg.txt", cancellationToken));
await using Utf8JsonWriter pretranslateWriter =
new(
await _sharedFileService.OpenWriteAsync($"builds/{buildId}/pretranslate.src.json", cancellationToken),
PretranslateWriterOptions
);
await using Stream pretranslateStream = await _sharedFileService.OpenWriteAsync(
$"builds/{buildId}/pretranslate.src.json",
cancellationToken
);
await using Utf8JsonWriter pretranslateWriter = new(pretranslateStream, PretranslateWriterOptions);

int trainCount = 0;
int pretranslateCount = 0;
Expand Down

0 comments on commit 6886078

Please sign in to comment.