Skip to content

Commit

Permalink
refactor: codegen API example
Browse files Browse the repository at this point in the history
  • Loading branch information
UniverseFly committed Oct 9, 2023
1 parent b267453 commit 8a1175c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@
> **New codegen API! (BETA)**
>
> ```shell
> ACTIVE=1 python -m repilot.cli.main codegen --proj-path $PROJ_PATH --file-path $FILE_PATH --line 1419 --column 1 --model codet5 --method pruned-mem
> ACTIVE=1 python -m repilot.cli.main codegen \
> --proj-path $JAVA_PROJ_PATH \
> --file-path $FILE_PATH \
> --line 1419 \
> --column 1 \
> --model codet5 \
> --method pruned-mem
> ```
>
> To use that, follow the normal installation but no need to install Defects4J.
Expand Down

0 comments on commit 8a1175c

Please sign in to comment.