Skip to content

Commit 6d7cb14

Browse files
authored
Fix lint in examples/offline_embed.py (#1618)
### What this PR does / why we need it? Fix lint ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? CI passed Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
1 parent e511ddd commit 6d7cb14

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)