Skip to content

Commit 0f8452c

Browse files
committed
indent
1 parent e4c6cba commit 0f8452c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/tasks/src/snippets/python.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const snippetConversational = (model: ModelDataMinimal, accessToken: stri
88
client = InferenceClient(api_key="${accessToken || "{API_TOKEN}"}")
99
1010
for message in client.chat_completion(
11-
model="${model.id}",
11+
model="${model.id}",
1212
messages=[{"role": "user", "content": "What is the capital of France?"}],
1313
max_tokens=500,
1414
stream=True,
@@ -23,7 +23,7 @@ client = InferenceClient(api_key="${accessToken || "{API_TOKEN}"}")
2323
image_url = "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg"
2424
2525
for message in client.chat_completion(
26-
model="${model.id}",
26+
model="${model.id}",
2727
messages=[
2828
{
2929
"role": "user",

0 commit comments

Comments
 (0)