Skip to content

Commit c32c584

Browse files
authored
Update annotate_rest.py
1 parent 1c23a83 commit c32c584

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cnlpt/api/annotate_rest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
logger.setLevel(logging.DEBUG)
4040

4141

42-
MODEL_PATH = "/my_trained_model" # path to saved model with model.safetensors
42+
MODEL_PATH = "/temp"
4343
TASK = "DoNotAnnotate"
4444
LABELS = [0, 1] # Do not annotate = 0, Annotate = 1
4545

@@ -93,7 +93,7 @@ async def process(doc: UnannotatedDocument):
9393
pred_time = pred_end - preproc_end
9494
postproc_time = postproc_end - pred_end
9595

96-
logging.info(
96+
logging.info(
9797
f"Pre-processing time: {preproc_time:f}, processing time: {pred_time:f}, post-processing time {postproc_time:f}"
9898
)
9999

0 commit comments

Comments
 (0)