Skip to content

Commit 3c7fa6f

Browse files
committed
update format
Signed-off-by: Chendi Xue <[email protected]>
1 parent 0966821 commit 3c7fa6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/offline_inference/basic/generate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,11 @@ def main(args: dict):
5959
generated_text = output.outputs[0].text
6060
print(f"Prompt: {prompt!r}\nGenerated text: {generated_text!r}")
6161
print("-" * 50)
62-
62+
6363
# Workaround: Force exit on HPU environments to prevent hangs.
6464
os._exit(0)
6565

66+
6667
if __name__ == "__main__":
6768
parser = create_parser()
6869
args: dict = vars(parser.parse_args())

0 commit comments

Comments
 (0)