Skip to content

Commit ed8b7b5

Browse files
committed
chore:lint
Signed-off-by: Jade Zheng <zheng.shoujian@outlook.com>
1 parent f1ddce2 commit ed8b7b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/offline_embed.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@
1818
#
1919

2020
import os
21+
2122
os.environ["VLLM_USE_MODELSCOPE"] = "True"
2223

2324
import torch
2425
from vllm import LLM
2526

27+
2628
def get_detailed_instruct(task_description: str, query: str) -> str:
2729
return f'Instruct: {task_description}\nQuery:{query}'
2830

0 commit comments

Comments
 (0)